Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2006 12:48:49 -0500 (CDT)
From:      Philip Hallstrom <freebsd@philip.pjkh.com>
To:        Efren Bravo <efrenba@yahoo.es>
Cc:        freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Restore OS user, help!!!
Message-ID:  <20060927124643.I75250@bravo.pjkh.com>
In-Reply-To: <20060927172641.46455.qmail@web25225.mail.ukl.yahoo.com>
References:  <20060927172641.46455.qmail@web25225.mail.ukl.yahoo.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> 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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20060927124643.I75250>