Showing posts with label forgot password. Show all posts
Showing posts with label forgot password. Show all posts

Oct 28, 2014

Reset forgotten/lost main user password in Linux

You can reset your password following the next steps:
  1. Reboot your computer / Turn your computer on.
  2. Hold down the Shift key at the start of the boot process to enable the GNU GRUB boot menu (if it does not show)
  3. Press ESC at the GNU GRUB prompt.
  4. Press e for edit.
  5. Use the Arrow keys to highlight the line that begins with kernel and press the e key.
  6. Go to the very end of the line and add rw init=/bin/bash
  7. Press Enter and then press b to boot your system.
  8. Your system will boot up to a passwordless root shell.
  9. Type in passwd yourusername
  10. Set your new password.
  11. Restart your system.
Note:- Above steps only work with Linux installed with 'grub'

Source:http://community.linuxmint.com/tutorial/view/339