Resetting the root password in Linux
If you lose your root password on a Linux, it can be easily reset. To reset the password, you need to reboot your machine into single-user mode (the details on how to do this vary greatly based on your Linux distribution, so Google for "single-user mode boot" along with the name of your distribution, Fedora 9, Ubuntu, etc).
Once you boot in single user mode you'll see a lot of stuff flashing up on the screen. Ignore it. Eventually it'll stop and you get a terminal command line prompt.
You can then run the passwd command. It'll ask you to enter a new root password and confirm it. Once the passwd command is run you can reboot your machine and the root password will be reset.
Once you boot in single user mode you'll see a lot of stuff flashing up on the screen. Ignore it. Eventually it'll stop and you get a terminal command line prompt.
You can then run the passwd command. It'll ask you to enter a new root password and confirm it. Once the passwd command is run you can reboot your machine and the root password will be reset.
| Rating: | 0% positive, 1 Vote |
| Categories: | Linux password root |
| Added: | on Feb 26, 2009 at 1:01 pm |
| Added By: | an anonymous user |
| Searches: | password root linux mode reset |

