Skip to content

Instantly share code, notes, and snippets.

@manojkumararyan
Last active January 14, 2019 05:28
Show Gist options
  • Save manojkumararyan/757167131631f5fa99737ee493fdc258 to your computer and use it in GitHub Desktop.
Save manojkumararyan/757167131631f5fa99737ee493fdc258 to your computer and use it in GitHub Desktop.

Recover Lost Password in Ubuntu

- mount -rw -o remount / #enable read write mode for root
- ls /home #to get list of usernames
- passwd <username> #press enter key & set password
- exit terminal & restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment