login about faq

I have passwordless login setup and it has worked perfectly for many years. Recently my group started managing another group of servers in addition to our large farm. The other servers processes run as the same user USER1 for example as the user on the farm we currently manage, however, the UID is different.

To use keys and passwordless login from our servers, do the UID's need to match as well as the username? If not, how does one accomplish this?

Thanks

asked Sep 16 '10 at 12:22

JP's gravatar image

JP
1111

What version of Tectia are you using and on what platform(s)?

(Sep 17 '10 at 08:26) Roman ♦♦ Roman's gravatar image

Which passwordless authentication method are you using? Public keys? Host-based authentication? Kerberos?

(Sep 17 '10 at 12:30) Ville Laurikari ♦ Ville%20Laurikari's gravatar image

Passwordless logins can be achieved in many ways. I assume you're talking about public-key authentication, which is one of the most common ways to achieve this.

When talking about public key authentication, the UID for a user on the client does not need to match the same UID on the server (nor the usernames for that matter). As long as the client has the private key and the server has the corresponding public key setup (and the permissions are correct, private key should have permissions to owner only) then it should just work.

See these questions (and answers) for how to setup and configure public key: http://answers.tectia.com/questions/tagged/public-key

link

answered Sep 17 '10 at 08:32

Roman's gravatar image

Roman ♦♦
7735817

Thanks Roman, that's what I thought. However, it is all setup correctly. The public key is in the .ssh2 directory w/ correct permissions, the file 'authorization' is also present w/ the context "Key xxxxx.pub" and yet the session from one server to the other ask for password. The only difference I see between these servers and the servers where it works is the UID of the user is different.

(Sep 26 '10 at 13:19) JP JP's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×63
×2
×1

Asked: Sep 16 '10 at 12:22

Seen: 6,538 times

Last updated: Apr 01 '11 at 17:22

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.