Changing Ubuntu’s password

Hello folks, usually we should keep a perfect password for our computer which will safer, secure and easy to remember. But it happens sometimes that you forget your password. This blog will no more offend for forgetting ubuntu’s password. πŸ™‚


Very first thing you need to do is **reboot your computer**

Hold shift key to get into GRUB, for a dual booted version they automatically get into GRUB.

Highlight your image of Ubuntu and press E to edit the image.

Find out the line starting with Linux and at the end of the line Type this command -> rw init=/bin/bash

Then press F10 or ctrl + x to boot and wait for sometime, if it comes as a blank page with a blinking underscore then do all above steps again.

Hope it worked till now …….

Now you get into root mode and type passwd <your username>

You will get an option to enter a new UNIX password, enter your new password and press enter.


Congratulations you are back to Ubuntu πŸ™‚



  1. The article is a very good one πŸ™‚

    but the title looks little mis-guiding, here you are just changing the ubuntu password and you won’t be able to find out what your old password.



Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s