Sometimes we just forgot a password when the computer asks to you, sometimes I forgot password on a fresh Ubuntu install. But what's next, how to recover the forgotten password?
Steps:
Turn on computer or restart, and select Advanced options for Ubuntu (Look in the picture.)
Next select Ubuntu, with Linux 3.13.0-35-generic (recovery mode) kernel version number may have by different.
Then, root Drop to root shell promt
Then write these commands:
- mount -rw -o remount / (Enter)
- sudo passwd your username (Enter)
Enter your new password (2x) press Enter!
Restart.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.