FC 11 Boot mode single user [recovery password]

Mikkel L. Ellertson mikkel at infinity-ltd.com
Mon Aug 10 20:09:11 UTC 2009


Jerry Feldman wrote:
> On 08/10/2009 09:01 AM, Tiago Araujo wrote:
>> Dear,
>>
>> I need recovery password in FC 11.
>>
>>
> There is none. The best way to recover a lost root password is to boot
> the installation media, the root file system should be mounted on
> /mnt/sysimage, but if it is not, you can mount it by hand.
> 
> The use the chroot(8) command  to set /mnt/sysimage as your root, then
> use the passwd(1) command to change the password, then to be safe,
> unmount /mnt/sysimage.
> 
> Example:
> (if the root file system is not mounted: mount /dev/sda2 /mnt/sysimage
> (assuming this is where root is) )
> chroot /mnt/sysimage
> passwd
> -->you will be prompted
> umount /mnt/sysimage
> 
> The reboot. The umount is very important.
> 
> 
> 
https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090810/a0d3dd52/attachment-0001.sig>


More information about the fedora-list mailing list