How to restore a lost root password...

Andrew D andrewd at webzone.net.au
Mon Oct 27 03:21:53 PDT 2008


G'Day,

Steven Susbauer wrote:
> Mauricio López wrote:
>> On Sun, Oct 26, 2008 at 4:08 PM, Daniel Bye

--snip--

>>
>> As far as I know, from my previous Linux experience, you just need a
>> LiveCD in order to boot the PC, mount the / partition, edit
>> /etc/passwd or /etc/shadow and change the hash for one that correspond
>> to one we know. Perhaps you can make it in every UNIX.
>>
> This is similar to what Matthew Seaman was mentioning.
> 
> I am curious though, might it be possible to boot from something like
> Freesbie (or a fixit disc), mount the drive, chroot to the actual
> install and run passwd like normal to change the password? Does root on

yep.

> FreeBSD ask to verify the old password when trying to change its own?
> 

nope :)

HTH
cya
Andrew

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



More information about the freebsd-questions mailing list