Date: Wed, 20 Oct 1999 15:21:38 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: marcus@kbinirsnb.be Cc: freebsd-questions@FreeBSD.ORG Subject: Re: lost root shell (silly isn't it?) Message-ID: <25487.940425698@axl.noc.iafrica.com> In-Reply-To: Your message of "Wed, 20 Oct 1999 15:01:50 %2B0200." <99102015133703.00326@px20_115.kbinirsnb.be>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Oct 1999 15:01:50 +0200, Marc Dubrowski wrote: > Can I start my computer in single user mode (and how?) and how to vipw > from there ? You'd be flamed for asking an FAQ if the FAQ happened to provide up-to-date information about this problem. ;-) You need to boot into single-user mode. This allows you to specify which shell you want root to use. Then you need to mount your filesystems and use vipw or chsh to change your root shell. To boot into single-user mode: 3.1-RELEASE and earlier: At the boot prompt, type ``-s'' and press enter. 3.2-RELEASE or later: At the boot prompt, type ``boot -s'' and press enter. To mount your filesystems: mount -a To change root's shell: Either vipw or chsh Ciao, 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?25487.940425698>