How to reset your administrative user password in ubuntu

It’s useful in case you forget your password and unable to access your system.

All you have to do is:

  1. startup your machine and select the kernel that you use at the grub menu
  2. press e to start editing
  3. Find the line that starts with linux and change ro to rw and add init=/bin/bash then press ctrl+x
  4. You will directly enter the console as root, just type passwd and write your new one

That’s it, Enjoy!

Source: https://help.ubuntu.com/community/LostPassword

About SoCRaT

Software Engineer, OSS & Linux Geek
This entry was posted in Linux, Mint, Ubuntu and tagged , , , . Bookmark the permalink.

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