Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jun 2003 11:00:55 +0200
From:      Jens Rehsack <rehsack@liwing.de>
To:        Simon-Pierre Butsana <shellfic1@cs-net.cd>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How can I recover the password for root in FreeBSD 4.4
Message-ID:  <3EDDB547.7010608@liwing.de>
References:  <006201c32a76$e3990630$a86fa8c0@SPBUTSANA>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/4/2003 10:54 AM, Simon-Pierre Butsana wrote:
> Hi,

Hi Simon,

> I changed yesterday the password for root on my server because I found it too simple.

That is a good idea - even with the bad the side effects you expirience
now :-)

> Unfortunately I didn't write it and now I just can't remind it. I
still have access
> to an account belonging to the wheel group. Is there any means to
recover or to set
> a new password for root?

I don't think this will help. Best would be to set the machine in single
user mode, either by booting using 'boot -s' or using 'shutdown now'.
Please don't do this if you don't have physical access to console!!!!

If you're in single user mode, choose a shell you want to use. /bin/sh
is a good choice. After that, simply reset your password using passwd(1).

> I would appreciate any help on this.

Good luck,
Jens



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