Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2001 15:03:10 +0600
From:      "Sergey N. Voronkov" <serg@tmn.ru>
To:        richard harris <h4rris_99@yahoo.com>
Cc:        security@FreeBSD.ORG
Subject:   Re: single user
Message-ID:  <20010619150310.A61639@sv.tech.sibitex.tmn.ru>
In-Reply-To: <20010619085547.74733.qmail@web11906.mail.yahoo.com>; from h4rris_99@yahoo.com on Tue, Jun 19, 2001 at 01:55:47AM -0700
References:  <20010619085547.74733.qmail@web11906.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 19, 2001 at 01:55:47AM -0700, richard harris wrote:
> Hi...
> I prevent booting FreeBSD into the single user mode
> with this path:
> 
> in /etc/ttys:#
> # This entry needed for asking password when init goes
> to single-usermode
> # If you want to be asked for password, change
> "secure" to "insecure"here
> console none                         unknown off
> secure
> 
> but unfortunaly right now i'm forget my root password,
> so what can i do??????

Hi!

Boot from fixit disk (doesn't matter wich version you have).
Mount your root partition (rw) and edit /etc/ttys.

Bye,

Serg N. Voronkov.

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




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