Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 00:43:50 GMT
From:      mike@sentex.net (Mike Tancsa)
To:        yxpan@us.oracle.com (Yan Pan)
Cc:        questions@freebsd.org
Subject:   Re: How to reset the root password
Message-ID:  <3831f9a6.730684909@mail.sentex.net>
In-Reply-To: <MAIL3831E9BF.8CA25BBF@us.oracle.com>
References:  <MAIL3831E9BF.8CA25BBF@us.oracle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 Nov 1999 18:26:27 -0500, in sentex.lists.freebsd.questions you wrote:

>This is a multi-part message in MIME format.
>--------------653BA6A6A0055170CE4C2721
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>I'd like to know how to reset the root password for FreeBSD v2.2.5


passwd root

If you have forgotten it, then reboot into single user mode... If I recall
correctly, at the boot prompt before the kernel gets loaded etc, type in
-s 
for single user mode.  Then when you get to a shell prompt, you must do a 
mount -u /
mount /usr
passwd root
sync;shutdown -r now

Its also in the FAQ.

	---Mike
Mike Tancsa  (mdtancsa@sentex.net)		
Sentex Communications Corp,   		
Waterloo, Ontario, Canada
"Given enough time, 100 monkeys on 100 routers 
could setup a national IP network." (KDW2)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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