Re: Recover Root Password on FC 11 and Missing GRUB Screen

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

 



Adding to what Marko wrote, since it sounds from the original post
like the system may be configured to ask for a password in single user
mode.  If that's the case you'll need to boot from the Fedora install
disc and choose the rescue mode, or if not available use any Linux
rescue/recovery disk and mount the root partition manually.

Once that's done, *carefully* edit the file "/etc/shadow" on the
system's boot disk and delete the long string of gibberish between
"root:" and the next ":", the next time you boot in single user mode
it will drop you directly to the root prompt without a login and you
can then use "password" to enter a new password.

If it comes to this and you have the HDD's "/etc" actually mounted on
"/etc", then if at all possible use the command "vipw -s" to edit the
file as this will set the necessary locks to prevent any file
corruption etc.


-- 
Andy

The only person to have all his work done by Friday was Robinson Crusoe

-- 
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