Procedure for migrating user accounts to new system ?
mike at hyperreal.org
Wed Jul 6 12:08:26 GMT 2005
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.
More information about the freebsd-questions