Re: Saving user accounts on reinstall

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

 



On Wed, 10 Mar 2004, Adam Lang wrote:

> what do you mean by "trim"?

I do not include any system account info (typically uid less than 100 ) 
from passwd, shadow, group, and gshadow.  I then concantenate that info 
into the respective files on the new server.



> ----- Original Message ----- 
> From: "Keith Morse" <kgmorse@xxxxxxxx>
> To: "Adam Lang" <aalang@xxxxxxxxxxxxxxxxxxxx>
> Cc: <linux-admin@xxxxxxxxxxxxxxx>
> Sent: Wednesday, March 10, 2004 2:30 AM
> Subject: Re: Saving user accounts on reinstall
> 
> 
> > 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.

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