Problems booting operating system and with root password

Adrian Pavone wingot at eftel.com
Fri May 26 13:02:22 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Greenwood wrote:
> I don't know what you mean by kernel errors on boot, but you can
> recover your root password by booting into single user mode and then
> running passwd.
> 
> On 5/26/06, Polina Mnouskina <polina_mnouskina at yahoo.com> wrote:
>> Hello.
>>
>>   I am working for the company, that is using FreeBSD on the server
>> mashins.  At the moment we have two problems: First, one of the
>> mashins give no kernael error on the boot. Second, we have lost our
>> root password to the second one. Is there a way to fix any of this two
>> problems without reinstaling the system.
>>
>>   Please, answer asap. Any help (free or paid) will be highly
>> appriciated.
>>
>>
>> ---------------------------------
>> New Yahoo! Messenger with Voice. Call regular phones from your PC and
>> save big.
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> 
> 

Unless single user mode is set to insecure, in which case that wouldn't
recover the password.

You could always use a different bootCD and chroot into the FreeBSD
system, then change the password.

Or bootCD and remove the root password hash from /etc/passwd and /etc/shadow

- --
This email address has expired. Please contact me for my new address.

Please obtain my pgp public key from pgp.mit.edu before sending me any
private mail, otherwise your email will likely be filtered incorrectly
and possibly junked.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd1dC0JHtFv5fxW8RAnmQAJ9gLHzDBvXSQ1zvVa5I6Ci98dxOnACeNXPU
E2/n34T7MKwDsv8P8bmzrDg=
=2bpV
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list