rsyncing feeling

David J Patrick davidjpatrick-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Thu Jul 22 16:43:36 UTC 2004


Michael Galea wrote:

>
> If you don't have too many systems/users and you have control over 
> them, why not just normalize the UIDs/GIDs now?
>
> For a user (GID 1000, UID 1000) modify the /etc/passwd file (e.g. 
> 1000:1000 to 1001:1001)
> Modify the /etc/group file (e.g. 1000 to 1001)

check !

> find / -xdev -uid 1000 -print -exec chown 1001 {} \;
> find / -xdev -gid 1000 -print -exec chgrp 1001 {} \;

makes sense of after a bit of RTFM

>
> When I used to manage multiple systems I would either copy from 
> /etc/passwd

you mean .. when performing the above operation, you'd get the values 
from /etc/passwd ?

> or manually specify UID/GID at account creation time.

That's what I'll do from now on,
very helpful MG !
thanks,
djp

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list