Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!news.seinf.abb.se!news.mdh.se!columba.udac.uu.se!newsfeed.sunet.se!news01.sunet.se!sunic!news99.sunet.se!news.uni-c.dk!newsfeed.cs.auc.dk!news From: john7doe@iesd.auc.dk (Simon Nybroe) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Booting into Single User Mode Date: 28 Jun 1996 15:17:20 +0200 Organization: CS at Aalborg University Lines: 39 Sender: john7doe@helium.iesd.auc.dk Message-ID: <y0zhgrwgja7.fsf@helium.iesd.auc.dk> References: <DtM9Az.Equ@caprica.com> <4qt6lg$dkd@symiserver2.symantec.com> NNTP-Posting-Host: helium.iesd.auc.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit In-reply-to: tedm@agora.rdrop.com's message of 27 Jun 1996 05:36:48 GMT X-Newsreader: Gnus v5.0 >>>>> "tedm" == tedm <tedm@agora.rdrop.com> writes: tedm> In <DtM9Az.Equ@caprica.com>, ktaira@caprica.com (Kenneth tedm> Taira) writes: >> Having spent a few hours going through the FAQ and available >> documentation, am here, hat-in-hand, asking for assistance. >> >> Embarassing but true, I changed the operator, and both root >> passwords and have lost the yellow post-it note that I wrote >> the passwords on. After a number of attempts to use Control-C >> to force system into Single-usr mode, I can see the password >> and shadow files, but I cannot get at /usr/bin, etc. >> directories to run either an editor or passwd to get at it and >> am woefully inept with sh. >> >> Help via e-mail? tedm> Since you brought your system up single-user, /etc/rc and tedm> friends wern't run, and none of the filesystem got mounted tedm> thus you cannot see /usr. tedm> You need to mount /usr by hand with /sbin/mount and tedm> appropriate parameters. Checl /etc/fstab for them, their tedm> going to vary depending if the disk is IDE or SCSI. In this case, i'l use mount -a, I see no reason not to mount everything. tedm> You cannot modify the passwd files by hand anyway, you have tedm> to use vipw so the database gets rebuilt properly. (or tedm> passwd) VII -- Simon Nybroe -------- __o john7doe@iesd.auc.dk ------- _`\<,_ Dept. of Mathematics and Computer Science, Aalborg University ------- (*)/ (*)