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

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

 



Phil Meyer wrote:
On 08/10/2009 04:39 PM, suvayu ali wrote:
2009/8/10 Jerry Feldman<gaf@xxxxxxx>:
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.

Just for knowledge's sake, why is the umount so important?


A umount will force a flush of the file system's buffers, thus making sure that your changes are saved.

If you exit gracefully from single user, this should happen as a matter of course, but not everyone will exit gracefully from single user or rescue mode.

Plus, you may want to do more than one thing in recovery mode, and this step reminds you to 'save your work'.


Thank you. I get to learn everyday on this list!  :)

--
Suvayu

Open source is the future. It sets us free.

--
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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux