Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 05:00:50 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Rob Garbutt <rob@webstyleinternet.com>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: root password recovery
Message-ID:  <20060529190050.GA980@turion.vk2pj.dyndns.org>
In-Reply-To: <003901c68348$27afbb70$0202a8c0@bmbpc733>
References:  <003901c68348$27afbb70$0202a8c0@bmbpc733>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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