Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 1999 13:39:51 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        bill slaybaugh <slay3241@bright.net>
Cc:        FreeBSD List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: lost my /etc/spwd.db
Message-ID:  <19991017133951.A72953@dan.emsphone.com>
In-Reply-To: <380A136F.9787AA37@bright.net>; from slay3241@bright.net on Sun, Oct 17, 1999 at 02:20:31PM -0400
References:  <380A136F.9787AA37@bright.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 17), bill slaybaugh said:
> After an extended round of disk grinding, trying to swap some
> free-space my netscape session bombed out.  I am pretty new to
> FreeBSD and I didn't know what to make of a repeated message: "no
> such file or directory - /etc/spwd.db" I smelled trouble when I tried
> to su to root in xterm and got "who are you?" After rebooting the
> machine and failing to get in as root or anyone I began to realize I
> had lost my password file. NOW WHAT?

If you still have a master.passwd you can rebuild spwd.db by running
"pwd_mkdb /etc/paster.passwd".  If master.passwd is gone as well, check
/var/backups which usually stores the last two revisions of
master.passwd.

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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