what password files do i need?

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Sep 25 11:31:38 PDT 2004

On Sat, Sep 25, 2004 at 08:24:49PM +0200, Benjamin Walkenhorst wrote:
> On Sat, 25 Sep 2004 13:13:05 -0500
> Anthony Philipp <philipp1 at itg.uiuc.edu> wrote:
> > Hello,
> > I was planning on doing a clean install for 5.3 when it comes out, and
> > I have seveal friends who have accounts on my box. Which password
> > files do I need to move over so that their passwords won't change.
> > Thanks a lot. Anthony Philipp
> I *think* it's /etc/passwd and /etc/master.passwd.
> I'm not giving any guarantees, though. =)
> (If in doubt, you might also want to grep /etc for the logins of your
> friends.)

/etc/master.passwd and /etc/group -- you can regenerate /etc/passwd
from /etc/master.passwd by running:

    # pwd_mkdb /etc/master.passwd

But note that there have been changes to the standard system accounts
which you will need to merge.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040925/31e23edf/attachment.bin

More information about the freebsd-questions mailing list