root password recovery

Tarc tarc at tarc.po.cs.msu.su
Mon May 29 23:48:45 PDT 2006


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


More information about the freebsd-hardware mailing list