Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 1996 08:55:03 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Richard Gresek <rg@plusnet.de>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: cannot login
Message-ID:  <Pine.BSF.3.91.961114085146.369B-100000@panda.hilink.com.au>
In-Reply-To: <199611132043.VAA09968@gds.de>

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


On Wed, 13 Nov 1996, Richard Gresek wrote:

> Our /etc/pwd.db crashed somehow.
> 
> Now, nobody can login. Unfortunately even the root password does not 
> work.
> 
> How can I boot the system in single user mode to be able to login 
> without a password?

boot: -s

# mount -a  (mounts filesystems rw - before this / is mounted ro)
# cd /etc
# /usr/bin/head master.passwd

If it looks OK,

# /usr/sbin/pwd_mkdb -p master.passwd  (rebuilds the passwd dbs)

cheers,

Danny




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961114085146.369B-100000>