Re: FC 11 Boot mode single user [recovery password]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux