How to recover root password

Russell Miller duskglow at gmail.com
Sun Aug 3 00:10:07 UTC 2008


Craig White wrote:
> On Sat, 2008-08-02 at 19:34 -0400, Ricky wrote:
>   
>> Hi,
>>
>> I had a root passwd which was so secure that even i cannot remember it
>> now, lol!
>>
>> Can Someone help as to how i can recover it!!!!???
>>
>>
>> Any suggestions???
>>     
The suggestions so far have assumed you won't get asked for a root 
password to go to single user.  There's a way around that too.

Append "init=/bin/sh" to the end of the kernel line and boot.

mount -o ro,remount /
mount -a
passwd root
<new passwd>
sync
wait a few seconds
reboot

--Russell




More information about the fedora-list mailing list