*BSD News Article 85973


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newspump.sol.net!posts.execpc.com!usenet
From: desmo@bandwidth.org (Kenneth J. Monville)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: root's default shell doesnt exist - what now?
Date: 1 Jan 1997 13:07:54 GMT
Organization: Exec-PC BBS Internet - Milwaukee, WI
Lines: 14
Message-ID: <5adnja$n4t@newsops.execpc.com>
References: <5ad2ut$ine@oxywhite.interaccess.com>
NNTP-Posting-Host: wasted.bandwidth.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
To: ksquires@oxywhite.interaccess.com (Kent L Squires)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33416

[Posted and mailed]

In article <5ad2ut$ine@oxywhite.interaccess.com>,
	ksquires@oxywhite.interaccess.com (Kent L Squires) writes:
> Ok, I went to change the shell for root using chsh.
> I typed in 'ksh' instead of 'zsh' and now I can't
> login as root.  Help.

reboot '-s' at the boot prompt.  This will boot you into single user mode and ask you for a shell.  Next, mount -a to mount your filesystems, then you can change your shell back with chsh.
-- 
--------------------------------------------------------------------
|\  /|                     _    \    desmo@bandwidth.org
| \/ |  _     Ken         |_    /    http://www.bandwidth.org/~desmo
|    | (_) |\| \/ | |_ |_ |_    \    * Powered by FreeBSD *