*BSD News Article 84351


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news-peer.gsl.net!news.gsl.net!hammer.uoregon.edu!news.uoregon.edu!smalltown.uoregon.edu!gladstone!sharding
From: sharding@gladstone.uoregon.edu (Sean Christopher Harding)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: loss of root password
Date: 6 Dec 1996 07:02:03 GMT
Organization: University of Oregon
Lines: 22
Message-ID: <588gdb$j1n@smalltown.uoregon.edu>
References: <32A7AF66.49FF@li.net>
NNTP-Posting-Host: gladstone.uoregon.edu
NNTP-Posting-User: sharding
X-Newsreader: TIN [version 1.2 PL2]

Jeff Auerbach (jauerbac@li.net) claims to have said:
> I changed my root shell to /bin/ksh not thinking at the time that the
> ksh was actually in /usr/local/bin.  Basically I cannot log in as root
> or su anymore because of the lack of shell.  How can I fix this without
> rebuilding the system.  I want my rootly powers back.

I believe that when you boot into single user mode, it asks you what 
shell to use...Specify a valid one and go fix the passwd entry.

sean

-------
"I recognize the walls inside; I recognize them all. I've paced between 
them chasing demons down until they fall in fitful sleep, enough to keep 
their strength enough to crawl, into my head with tangled threads they 
riddle me to solve. Again & again & again."
  --Natalie Merchant "I May Know the Word"
            
         Sean Harding, sharding@oregon.uoregon.edu 
                   http://gladstone.uoregon.edu/~sharding