Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have many servers with LDAP which mantain the users UID the same among the servers, but how can I change and keep the same UID for local users ?

For example, the user tomcat, when someone create an script that do install a tomcat, apache or another software and with it has the user tomcat for it, right ? But when someone makes a rsync of some files, keeping the permissions, in the other server cames with the wrong permissions. I would like to avoid that. How can I do that ?

share|improve this question
At least for rsync, there is no need to have the same UID. If the user is on both ends, rsync will make the ownership correct (the option --numeric-ids turns OFF this behaviour). – Ciclamino Aug 21 '13 at 19:04
Sure, but if the user, local users, has different UID in both servers, the problem persist. – Valter Henrique Aug 21 '13 at 19:19

You must log in to answer this question.

Browse other questions tagged .