Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 1999 18:23:34 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        bill slaybaugh <slay3241@bright.net>
Cc:        questions@freebsd.org
Subject:   Re: flaky single user boot 
Message-ID:  <13381.940263814@axl.noc.iafrica.com>
In-Reply-To: Your message of "Mon, 18 Oct 1999 10:36:01 -0400." <380B3051.B65B5BDC@bright.net> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 18 Oct 1999 10:36:01 -0400, bill slaybaugh wrote:

> I got up to the point of running 'passwd root' but then got:
> 'passwd: error opening database: /etc/pwd.db.: No such file' etc.
> I really did not forget my root password, but something did
> happen to *.db files under /etc.

Yeah, that was your original problem, which I assumed you'd know how to
fix once you were into the system. Sorry about that. :-)

Okay, this ought to rebuild your pwd.db and spwd.db files, assuming you
still have the master.passwd file:

	cd /etc
	pwd_mkdb master.passwd

If you _don't_ still have a master.passwd file, you may have a backup
copy in /var/backups.

Good luck!
Sheldon.


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?13381.940263814>