From owner-freebsd-security Tue Jun 19 2: 3:16 2001 Delivered-To: freebsd-security@freebsd.org Received: from sbtx.tmn.ru (sbtx.tmn.ru [212.76.160.49]) by hub.freebsd.org (Postfix) with ESMTP id 39E0D37B406 for ; Tue, 19 Jun 2001 02:03:13 -0700 (PDT) (envelope-from serg@sbtx.tmn.ru) Received: from sv.tech.sibitex.tmn.ru (sv.tech.sibitex.tmn.ru [212.76.160.59]) by sbtx.tmn.ru (8.11.3/8.11.3) with ESMTP id f5J93AI70759; Tue, 19 Jun 2001 15:03:11 +0600 (YEKST) (envelope-from serg@sbtx.tmn.ru) Received: (from serg@localhost) by sv.tech.sibitex.tmn.ru (8.11.4/8.11.4) id f5J93Ao61658; Tue, 19 Jun 2001 15:03:10 +0600 (YEKST) (envelope-from serg) Date: Tue, 19 Jun 2001 15:03:10 +0600 From: "Sergey N. Voronkov" To: richard harris Cc: security@FreeBSD.ORG Subject: Re: single user Message-ID: <20010619150310.A61639@sv.tech.sibitex.tmn.ru> References: <20010619085547.74733.qmail@web11906.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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