On Jul 26, 5:58 pm, ca...@cajuninc.com ("M.Lewis") wrote:
> I'm migrating an old RedHat server to a new Debian server. In migrating
> the data there's a problem in that on the RH server the UID starts at
> 500, on the Debian server the UID starts at 1000. Resulting in something
> like this:
>
> Old     User    New
> UID     Name    UID
>
> 500     Moe     1000
> 501     Larry   1001
> 502     Curley  1002
> 503     Shemp   1003
>
> I've tossed this around in my head and haven't really arrived at a good
> method to correct the UID's on the new server. I presume there will be a
> similar problem with GID's as well, although I've not yet confirmed that.
>
> I'm hopeful that someone will give me an idea that will give me a
> kick-start so to speak.
>
> Thanks,
> Mike

If you don't want to use the original UID's, then the first thing that
I can think of is to:

1) use useradd to create the new account

2) scp or rsync the original home directory to the new server

3) chown the user's files to reset the user/group id's


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to