Restore OS user, help!!!

Philip Hallstrom freebsd at philip.pjkh.com
Wed Sep 27 10:42:41 PDT 2006


> I've installed a new freeBSD server and my
> question is if I copy the /home/* files and
> /etc/passwd file, then I restart it, the server
> assume all the users declared into the passwd
> file or should I do something else?

You'll also want to copy over...

/etc/group
/etc/master.passwd
/etc/spwd.db
/var/mail/
/var/cron/tabs

(there might be some others, but I think that should do it.  man passwd
to see what other files it mentions)

And make sure when you copy /home/* you preserve permissions...

-philip



More information about the freebsd-questions mailing list