HOw to Reset password in ubuntu

 Reset password in Ubuntu:
1.Open in the recovery mode
2. Go to root directory.
3. in terminal you are in read mode only so type the following to enable write mode also.
    mount -o rw, remount /
4.Now set the user  password with the passwd command.
    to view the username type : ls /home
    ie:type the following command
    password username
    Enter new password
    Reenter password
5.you have updated the password successfully

6.close it and restart ,you are done.

Comments