From owner-freebsd-hardware@FreeBSD.ORG Tue May 30 06:48:45 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FEB816A42D for ; Tue, 30 May 2006 06:48:45 +0000 (UTC) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (tarc.po.cs.msu.su [158.250.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47EF243D55 for ; Tue, 30 May 2006 06:48:43 +0000 (GMT) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (localhost [127.0.0.1]) by tarc.po.cs.msu.su (8.13.4/8.13.4) with ESMTP id k4U6nTxQ024020 for ; Tue, 30 May 2006 10:49:29 +0400 (MSD) (envelope-from tarc@tarc.po.cs.msu.su) Received: (from tarc@localhost) by tarc.po.cs.msu.su (8.13.4/8.13.4/Submit) id k4U6nT8t024019 for freebsd-hardware@freebsd.org; Tue, 30 May 2006 10:49:29 +0400 (MSD) (envelope-from tarc) Resent-From: Tarc Resent-Date: Tue, 30 May 2006 10:49:29 +0400 Resent-Message-ID: <20060530064929.GA23989@tarc.po.cs.msu.su> Resent-To: freebsd-hardware@freebsd.org Date: Tue, 30 May 2006 10:48:21 +0400 From: Tarc To: freebsd-hardware@freebsd.org Message-ID: <20060530064821.GG1161@tarc.po.cs.msu.su> References: <003901c68348$27afbb70$0202a8c0@bmbpc733> <20060529190050.GA980@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060529190050.GA980@turion.vk2pj.dyndns.org> User-Agent: mutt-ng/devel-r581 (FreeBSD) Subject: Re: root password recovery X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 06:48:45 -0000 On Tue, May 30, 2006 at 05:00:50AM +1000, Peter Jeremy wrote: > I'm not sure how this is a hardware problem. > > On Mon, 2006-May-29 18:48:54 +0100, Rob Garbutt wrote: > >Can anyone point me in the right direction of either recovering/resetting > >the root password (console or through bash) or fixing the above error? > > Assuming you have the console marked "secure" in /etc/ttys, you can > just boot to single-user. This will give you a root shell: > - boot single user > # mount -a > # passwd > > -- > Peter Jeremy Another solution is boot FreeBSD from other media, such CDROM. Any sysinstall(1) can reset root password.Any release ISO's after 5.x is a good start. -- Best regards, Arseny Nasokin