Re: Saving user accounts on reinstall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-03-10 at 08:30, Keith Morse wrote:
> On Tue, 9 Mar 2004, Adam Lang wrote:
> 
> > I am looking to reinstall an email server.  I want to keep my user accounts
> > and passwords and transfer them to the new server.  Is it as easy as copying
> > /etc/passwd and /etc/shadow and the /var/spool/mail directory?
> 
> 
> Having just done this I'd include /etc/group and /etc/gshadow and don't 
> forget to trim the system accounts from the old files before adding to the 
> new ones.

And, if any of your "old" users have an exotic shell, don't forget to
twiddle /etc/shells.

Andy

-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux