Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Mar 2000 16:05:58 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Alan Chan <alanux@excite.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: login problems due to ttys
Message-ID:  <20000325160558.L21029@fw.wintelcom.net>
In-Reply-To: <14128432.954027051158.JavaMail.imail@ants.excite.com>; from alanux@excite.com on Sat, Mar 25, 2000 at 03:30:50PM -0800
References:  <14128432.954027051158.JavaMail.imail@ants.excite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Alan Chan <alanux@excite.com> [000325 16:02] wrote:
> Alfred,
> 
> Thanks for your swift response.  I can now login as root using "boot -s"
> command that you instructed.  A small question: I'm in the single user mode
> and need to execute the vi command.  Can't seem to find the directory where
> the vi command's located.  I gave up looking for it.  Can you please let me
> know how I can execute the vi command in a single user mode so I can modify
> the /etc/ttys file?  Your help is sincerely appreciated.

if you issue the command "mount -a" then your /usr should become
available (vi is /usr/bin/vi) as well as '/' becoming read/write.

-Alfred


> 
> 
> Alan
> 
> 
> 
> On Sat, 25 Mar 2000 13:37:04 -0800, Alfred Perlstein wrote:
> 
> >  * Alan Chan <alanux@excite.com> [000325 13:24] wrote:
> >  > Hi,
> >  > 
> >  > I mistakenly changed my /etc/ttys files as being "insecure".  Every
> lines in
> >  > the file have been changed to "insecure" (i.e. console, ttyv0, ttyv1,
> etc.).
> >  > Now I can't log in because of this mistake.  What can i do to fix it
> that
> >  > enable me to log in?  Any comments and suggestions are appreciated.
> >  
> >  As long as you have the root password, you ought to be able to log in
> >  via single user mode.
> >  
> >  Hit spacebar during the loader countdown, then type "boot -s" and hit
> >  enter.
> >  
> >  best of luck,
> >  -Alfred
> 
> 
> 
> 
> 
> _______________________________________________________
> Get 100% FREE Internet Access powered by Excite
> Visit http://freelane.excite.com/freeisp

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000325160558.L21029>