linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Kelly <akelly@transparency.org>
To: "linux-admin@vger.kernel.org" <linux-admin@vger.kernel.org>
Subject: Re: Saving user accounts on reinstall
Date: 10 Mar 2004 08:45:48 +0100	[thread overview]
Message-ID: <1078904748.4310.3.camel@hermes.at.home> (raw)
In-Reply-To: <Pine.LNX.4.44.0403092328070.9849-100000@mail.mpcu.com>

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


  reply	other threads:[~2004-03-10  7:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-09 15:27 Saving user accounts on reinstall Adam Lang
2004-03-09 15:51 ` Matías López Bergero
2004-03-09 16:18   ` Hal Wigoda
2004-03-09 16:46     ` Jens Knoell
2004-03-10  7:30 ` Keith Morse
2004-03-10  7:45   ` Andrew Kelly [this message]
2004-03-10 14:02   ` Adam Lang
2004-03-11 23:09     ` Keith Morse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1078904748.4310.3.camel@hermes.at.home \
    --to=akelly@transparency.org \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).