Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!koriel!cs.utexas.edu!howland.reston.ans.net!pipex!peernews.demon.co.uk!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers,London,(0956) 361 769,(0181) 840 7880) Newsgroups: comp.os.386bsd.questions Subject: Re: SU password Date: 16 Jan 1995 20:28:44 -0000 Organization: None Lines: 25 Message-ID: <3fekts$1l5@awfulhak.demon.co.uk> References: <scribeD25zzC.7Dy@netcom.com> NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] The Cleaner (scribe@netcom.com) wrote: : Boot your system with the install boot disk, DON'T fdisk your drive, : assign your partitions to mount points in disklabel, and choose Fix-It. : Your system will reboot with the install kernel, and then use the CPIO : disk(?). You will get a screen that says choose NO to get a shell- choose : NO. You will now have a shell with root priviledges. Use vipw to edit : master.passwd (you have no path set, so you need to specify a full path). : Delete the encrypted password for root( second field) and save the file. : mv /kernel.before.fix-it /kernel and mv /etc/init.before.fix-it : /etc/init. Reboot. You should be able to login as root now. : scribe@netcom.com Isn't this a bit extreme ? What's wrong with boot: sd(0,a)/kernel -s or even pressing ctrl-c during fsck. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....