Copy all users between systems

Laszlo Nagy gandalf at shopzeus.com
Fri Oct 29 12:25:58 UTC 2010


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



More information about the freebsd-questions mailing list