Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!daffy!uwvax!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!nctuccca.edu.tw!news.cc.nctu.edu.tw!news.sinica!taob From: taob@gate.sinica.edu.tw (Brian Tao) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Help! No root login, no backdoor Date: 16 Jun 1995 08:41:06 GMT Organization: Institute of Biomedical Sciences, Academia Sinica Lines: 14 Message-ID: <3rrg32$9al@gate.sinica.edu.tw> References: <DA4p5A.4vs@tigger.jvnc.net> NNTP-Posting-Host: @140.109.40.248 JvNCnet ENS Users (bucks@tigger.jvnc.net) wrote: > > Help! I messed up my .xsession file in the /root dir and can't log > in! I can't even su 'cuz the only other account is guest. Is there > a way to boot into single user with write enabled on /? The -s flag > seems to want to mount the root file system as read-only. Boot with kernel -s, when you get to the shell prompt, mount your filesystems normally (you can use "mount -av" if your /etc/fstab doesn't contain any remote NFS volumes). You will then have read-write access to your root filesystem. -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org