Simple steps to Reset Lost or Forgotten Password of Ubuntu/Linux

Simple steps to Reset Lost or Forgotten Password of Ubuntu/Linux

  1. Reboot your computer.
  2. Hold Shift during boot to start GRUB menu.
  3. Highlight your image and press E to edit.
  4. Find the line starting with “linux” and append rw init=/bin/bash at the end of that line. The end of the line should now look like this: rw init=/bin/bash
  5. Press Ctrl + X to boot.
  6. Type in passwd username.
  7. Set your password.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s