Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 05:08:25 -0700 (PDT)
From:      Mike Brown <mike@hyperreal.org>
To:        Nelis Lamprecht <nlamprecht@gmail.com>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: Procedure for migrating user accounts to new system ?
Message-ID:  <20050706120825.37140.qmail@hyperreal.org>
In-Reply-To: <7cbadc870507060437193ae5f4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nelis Lamprecht wrote:
> To answer my own posting. Simply copy(keeping correct permissions)
> /etc/passwd, /etc/master.passwd and /etc/group to the new system
> making sure you have a backup of the original if anything goes wrong.
> Then run pwd_mkdb -p /etc/passwd which will update /etc/pwd.db,
> spwd.db. I then rsync'ed all home directories and all is well.

I would add (as this just came up with one of my users today) that
you will probably also want to copy /var/cron/tabs to the new system,
lest everyone lose their crontabs.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050706120825.37140.qmail>