Archive

Posts Tagged ‘linux root’

Rescuing Linux root password

07/19/2010 Leave a comment

In case of emergency, you can recover your root password by following these steps: (mostly for Fedora-based Linux systems)

  1. Power on the machine/reboot if necessary.
  2. On the boot menu, select the OS you preferred and press `e` on you keyboard.
  3. Select the image you would like to boot, and press `e` again as soon as you get to the next screen.
  4. Insert a space and the number one `1`. After that press ENTER and `b` and ENTER again.
  5. You have now your system booted in a single user mode without entering a password.
  6. Type on the shell ‘passwd’ and enter your new password.
Advertisements
Categories: Linux/UNIX Tags: ,