[TriLUG] Machine Swap-out: preserving users

Alan Porter porter at trilug.org
Wed May 18 10:16:26 EDT 2005


>   As soon as parts come in, I'm going to be swapping out a server.  I
> want the usernames/passwords to all be the same, so could I do something
> like copy /etc/passwd, /etc/group, and /etc/shadow to the replacement
> and have things work?  I want it to be as seamless as possible...

If you use SSH, you may also want to copy the /etc/ssh directory
so your host keys do not change.


Alan





More information about the TriLUG mailing list