*BSD News Article 45856


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!noc.netcom.net!news.sprintlink.net!howland.reston.ans.net!news2.near.net!msgi.com!msgi.com!not-for-mail
From: gryphon@msgi.com (Coranth Gryphon)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help! No root login, no backdoor
Date: 13 Jun 1995 17:55:16 -0400
Organization: MSG, Inc. (Burlington, MA)
Lines: 19
Sender: Coranth Gryphon <gryphon@msgi.com>
Message-ID: <3rl1g4$mmi@hydra.msgi.com>
References: <DA4p5A.4vs@tigger.jvnc.net>
NNTP-Posting-Host: hydra.msgi.com
Keywords: help root backdoor

In article <DA4p5A.4vs@tigger.jvnc.net>,
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 single user as normal (the "-s" option if memory serves)
and then do a "mount -u /" to make the root partition read-write.

-coranth

------------------------------------------+------------------------+
Coranth Gryphon <gryphon@msgi.com>      |  "Faith Manages."      |
                                          |          - S'tai Delen |
Phone:  (603) 598-3440                    +------------------------+
USMail: 11 Carver St, Nashua, NH  03060
Disclaimer: All these words are yours, except Europa...