Date: Tue, 30 May 2006 10:48:21 +0400 From: Tarc <tarc@tarc.po.cs.msu.su> To: freebsd-hardware@freebsd.org Subject: Re: root password recovery Message-ID: <20060530064821.GG1161@tarc.po.cs.msu.su> Resent-Message-ID: <20060530064929.GA23989@tarc.po.cs.msu.su> In-Reply-To: <20060529190050.GA980@turion.vk2pj.dyndns.org> References: <003901c68348$27afbb70$0202a8c0@bmbpc733> <20060529190050.GA980@turion.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060530064821.GG1161>