Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2010 13:46:54 +0200
From:      Laszlo Nagy <gandalf@shopzeus.com>
To:        questions@freebsd.org
Subject:   Copy all users between systems
Message-ID:  <4CCAB42E.9050703@shopzeus.com>

next in thread | raw e-mail | index | archive | help
I would like to copy all user accounts, including root from an already 
installed 8.0 system to a fresh new 8.1 system.

My plan is to boot into single user mode, then copy these:

/etc/passwd
/etc/master.passwd
/etc/group

then run pwd_mkdb and finally restart the system. (Obviously, I also 
need to copy user home directories)

Will this be enough? Did I miss something?

Thanks,

    Laszlo




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