rsyncing feeling
David J Patrick
davidjpatrick-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Thu Jul 22 02:00:58 UTC 2004
daniel wrote:
>you're right, the problem is very old, and not as easily solved without
>complication. see, the problem you're (probably) having is that user "dave"
>is UID 1000 on one box, and say, UID 1002 on another.
>
So, when creating users, on a new machine, if I keep the UIDs
consistant, things should flow?
Must the names be the same ? Is the same true for GIDs ?
And the passwords need not match, right ?
> redhat machines start
>their new users at UID 500, so that can lead to issues accross linuxes.
>
>
Mandrake, too. (I've slunk back to Mdk10 after a year of debian)
> a simple script that
>updates all the file ownerships upon transfer. something like this:
>
>
> find <path> -uid 500 -print0 | xargs -0 --replace chown dave:users {}
>
>
thanks for the handy script. I'll study it and maybe give it a whirl !
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