*BSD News Article 58188


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!news.mathworks.com!uunet!in2.uu.net!news2.new-york.net!le
From: le@put.com (Louis Epstein)
Subject: Re: HELP!!!...trashed root!!
X-Newsreader: TIN [version 1.2 PL2]
X-Nntp-Posting-User: (Unauthenticated)
Organization: Putnam Internet Services
Message-ID: <DKqqAB.BDv@news2.new-york.net>
References: <DKn0xF.3KD@news2.new-york.net> <DKnzv1.37J@ritz.mordor.com>
X-Nntp-Posting-Host: main.put.com
Date: Sat, 6 Jan 1996 03:42:11 GMT
Lines: 22

Chris Mauritz (ritz@ritz.mordor.com) wrote:
: 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?

Well,it's back...I booted "kernel -s" as I was emailed advice to,then
did some fsck'ing and mounting...