Recovering root password from a drive by mounting the cdrom

David Alanis canito at dalan.us
Sun Jul 6 17:44:51 UTC 2008


Quoting Mukarram Syed <muksyed at yahoo.com>:

> Hi,
> I am totally new to freebsd and as a Unix admin (not a freebsd unix   
> admin though), I have to recover a lost root password from a freebsd  
>  drive.
> I need your help!
> I have booted up from a freebsd install cd 1.  I have connected my   
> freebsd drive in the system.  Now I don't know how to mount the   
> drive to edit the /etc/shadow file.
> I am at the fixit prompt on the cd.
> Can anyone help.  I have tried googling this for the past hour with no luck.
> Is there anyother way to do this?  I can't login using single user   
> mode though.
>
> thanks much
>
> # mukarram
>
>  Mukarram Syed
> muksyed at yahoo.com
>
>
>
>
> _______________________________________________
> 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"
>

Simple as typing a few words in google:

http://www.google.com/search?hl=en&q=how+to+recover+a+root+password+freebsd&btnG=Search

Try the first link.



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the freebsd-questions mailing list