On Tuesday 27 Jul 2010 03:58:06 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.
> 

My suggestion is to simply copy the appropriate lines from the /etc/passwd to 
the new /etc/passwd.

Regards,

        Shlomi Fish

> I'm hopeful that someone will give me an idea that will give me a
> kick-start so to speak.
> 
> Thanks,
> Mike

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
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