*BSD News Article 58837


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!in1.uu.net!news.new-york.net!ritz.mordor.com!ritz
From: ritz@ritz.mordor.com (Chris Mauritz)
Subject: Re: HELP!!!...trashed root!!
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Lines: 20
Organization: Mordor International
Message-ID: <DKnzv1.37J@ritz.mordor.com>
References: <DKn0xF.3KD@news2.new-york.net>
Date: Thu, 4 Jan 1996 16:16:13 GMT

Louis Epstein (le@put.com) wrote:
: I absent-mindedly cshsh'ed the database for root on my accounts to a shell
: that wasn't on the machine...
: 
: now,I can't either login as root on the machine,su from any wheel account
: on the machine,or add any accounts to the machine because that shell's not
: there...and I can't install it from my other FreeBSD machine on my network
: because I need to be a superuser to do that.I can't ftp the executable from
: either end...or copy an extant shell into the /bin directory under the
: name the database expects to see root use...
: 
: Should I go back to the boot-floppy?Try my 2.1 CD?Will it do anything 
: helpful other than a scorched-earth reinstall losing all my apps??

Why don't you just use the fixit disk to login as root, then either
change the passwd entry to a valid shell or ftp the missing shell
and install it?

Chris

-- 
Christopher Mauritz         | For info on internet access:
ritz@mordor.com             | finger/mail info@ritz.mordor.com OR
Mordor International        | http://www.mordor.com/
201/212/718 internet access | Modem: (201)433-7343,(212)843-3451