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 dual booted version they automatically get into GRUB.

Highlight your image of Ubuntu and press E to edit 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.

REBOOT YOUR SYSTEM 🙂

Congratulations your are back to ubuntu 🙂

Advertisements

2 Comments

  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.

    Like

    Reply

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