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?
asked Sep 16 '10 at 12:22
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
answered Sep 17 '10 at 08:32