Problems booting operating system and with root password

Adrian Pavone wingot at eftel.com
Fri May 26 13:45:48 PDT 2006


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

Miguel wrote:
> 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.
> 
> 
> Hi, i have a similar problem, i forgot my root password and the server
> its in a remote colocation site, is there a way to recover the encrypted
> password and crackit some way, i have my normal account (which is in
> wheel group), i even know that the root's pass begings with
> MAG_"something", but i really cant remember the complete root's pass,
> rebooting in single user mode is my best bet?
> 
> ---
> _______________________________________________
> 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"
> 
> 

It is easiest if the system's single user mode hasn't been locked down

If single user mode HAS been locked down (ie. needs the root password),
then you will need a boot disc so you can chroot to your FreeBSD system
from another, or so you can directly edit the /etc/passwd or /etc/shadow
 file.

The password hash *MIGHT* also be in one of those two files, depending
on your configuration.

Regards,
Adrian

- --
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

iD8DBQFEd2Fs0JHtFv5fxW8RAgfhAJ0RQ3CA3PjofAjYERytNZ2JrGdmMQCcDflK
lcgQRMkKPW+wFU30WLeeyHw=
=dtu/
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list