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!insync!Gamma.RU!srcc!demos!sarnod!golden!usenet From: Alexander Maksimov <sasha@cool.pvrr.ru> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: loss of root password Date: Fri, 06 Dec 1996 10:57:33 +0000 Organization: Privolzhskaya Railway Computing Center Lines: 13 Message-ID: <32A7FC1D.2781E494@cool.pvrr.ru> References: <32A7AF66.49FF@li.net> NNTP-Posting-Host: cool.pvrr.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.1.0-RELEASE i386) Jeff Auerbach wrote: > > 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. If you have network access to your machine, try to use ftp in order to get your "/etc/passwd", edit it and put it back. I've solved the same problem in this way (but I used SCO, not FreeBSD). -- Alexander Maksimov mailto:sasha@cool.pvrr.ru http://cool.pvrr.ru