Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I was running a program on my Fedora machine, my system froze and I had to do a hard reboot. But once I rebooted, Fedora complained that the file system has errors and attempted to fix it.

Now, it gives me a screen where it prompts me to enter the root password for maintenance or press ctrl+d for reboot. But the root password which I had on my system does not work anymore. I have a ton of configurations/settings on the machine which I do not want to lose.

Am I missing something really simple ?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can always boot from a rescue CD and then blank the root password. Alternatively, use GRUB to boot into runlevel 1 and you should be able to get a shell prompt without entering any password. You can then use the passwd command to change the password.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.