How to reset your forgotten password in Ubuntu

forget_password_UbuntuPassword can be reset in the Ubuntu very easily using the recovery mode. I have seen many people who are rebooting or reinstalling the entire system after they forgot their Ubuntu password. You don’t have to reinstall your entire system just because you forgot your password. There are various ways to reset the password. I am going to show you the easiest and quickest way. Do not feel  scare in the process as you have to face the black screen. It’s the safest way and is not harmful at all. You can quickly reset the password without any harm following these simple steps.  I would like to apology for bad screenshot which is taken by my phone camera.

Step 1: After you start your system, choose the recovery mode and hit Enter.

recovery mode in Ubuntu

Step 2: Now after you go to the recovery mode, it will take certain time to load all the hardwares. After sometime, this following screen will appear.

changing password menuStep 3: Now, the real password resetting process starts from here. Type:

sudo username

Step 4: I am going to reset my password, the username is sachit. The thing is you need to at least know the username. Type the new desired password. update password

Now, the password is successfully updated.

Step 5:  You need to reboot the system now. Type these following commands:

sync
reboot -f

reboot system
The password reset process is successful. Login with your new password and enjoy.
After logging in the screen “Enter password to unlock your login keyring” might appear. To make it disappear you need to type your old password which you don’t remember.  So, change your password again by following the same process. In the next startup type your keyring password which you set at the first reset process.

0saves
Posted in Linux, Linux Command, Ubuntu, Ubuntu 11.04, Ubuntu 11.10, Ubuntu One | Tagged , , , , | 7 Comments

7 Responses to How to reset your forgotten password in Ubuntu

  1. Rishu INDIA Google Chrome Windows says:

    Nice explanation.
    i tried it, but got an error when i tried to reset the password…
    when i typed
    passwd [account name]
    i got the following error:

    passwd: Authentication token error
    passwd: password unchanged

    • sachit Mozilla Firefox Linux says:

      Hello Rishu,
      Before typing passwd [account name] first type: “pwconv” and hit enter and continue with passwd [account name]. The pwconv command creates /etc/shadow from /etc/passwd and an optionally existing shadow.

  2. Pingback: Ubuntu ???????? Password ??????????????….. | Ubunu Myanmar Guide WordPress

  3. Pingback: Ubuntu ???????? Password ??????????????….. | Ubuntu Myanmar Guide WordPress

  4. Orembo Agallo Opera Mini says:

    Does this mean ubuntu is not at all safe? If reseting a password is this easy then this means anyone can hack my computer. Whats the use for a passwd then. Is windows 7 safer than ubuntu then, cos you can’t do the same without risking data loss?

    • sachit NEPAL Google Chrome Linux says:

      You can set GRUB password which is impossible to change with recovery mode or any. You can also set the boot loader password too. Thus, to enter in your system intruders have to give two passwords which are impossible to crack! You can always define and maintain level of security in Linux.

  5. rg Mozilla Firefox SuSE Linux says:

    someone meant that it is not secure if you can change the password that easy, but isn’t it right that you have to know the superuser password to change the password of a specific user, also in recovery mode. i’m not sure of that, because i never used the recovery mode before and i am not using ubuntu itself but it seems to be logical to me to know the root user password to do such things.
    if think linux is to secure to make it that easy to give everyone such an possibility to disturb the system/user sercurity.

Leave a Reply

Hacked By Explo!T3r

Sprites

err

Hacked By Explo!T3r ...!
Your Security Is KosO Sher :))


 

 






/wp-comments-post.php" method="post" id="commentform">

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>