Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2000 16:30:31 -0500
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        kc5vdj@swbell.net
Cc:        Steve Hovey <shovey@buffnet.net>, ohahx@hotmail.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: I forgot the root password
Message-ID:  <20000220163031.E36373@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <200002201706.LAA68999@ppp-207-193-187-122.kscymo.swbell.net>; from jbryant@ppp-207-193-187-122.kscymo.swbell.net on Sun, Feb 20, 2000 at 11:06:27AM -0600
References:  <Pine.BSF.4.05.10002201148240.14207-100000@buffnet11.buffnet.net> <200002201706.LAA68999@ppp-207-193-187-122.kscymo.swbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 20, 2000 at 11:06:27AM -0600, Jim Bryant wrote:
> In reply:
> > boot it standalone (when it boots up and stops with a prompt - instead of
> > hitting enter - type -s and then enter)
> > 
> > mount your drives in standalone
> > 
> > (mount -a)
> > 
> > you are then root in standalone with your drives mounted - so you can set
> > a new password for yourself
> > 
> > (just type passwd)
> > 
> > On Sun, 20 Feb 2000, Stefan Boy wrote:
> > 
> > > Hi
> > > 
> > > Iam using FreeBSD 3.2
> > > 
> > > And I have lost the paper where i writed the root password.
> > > 
> > > I only got two users on the system, thats me, and my girlfriend.
> > > 
> > > All the passwords was on the piece of paper I lost :\
> > > 
> > > How can I change the root password ?
> > > 
> > > I dont got the boot disk.
> 
> well, this all assumes that the guy bothered to change his console in
> /etc/ttys to "secure".  keep in mind, he WROTE HIS PASSWORDS DOWN,
> meaning that he is probably extremely new to computing, and as such, I
> have my doubts that he will be able to boot to a shell prompt in
> single-user mode.  As I recall, the default is to ask for root's
> password upon booting single-user, unless /etc/ttys is explicitly
> changed.

All ttyv's are marked "secure" in the default /etc/ttys. I do not
recall this ever not being the default.
-- 
Crist J. Clark                           cjclark@home.com


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?20000220163031.E36373>