Last active
December 7, 2017 04:19
-
-
Save anugrahbsoe/f1be72f8068cb26007e3ed8608ace5fc to your computer and use it in GitHub Desktop.
reset a password linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. booting ubuntu | |
2. choose ubuntu advanced mode | |
3. from the boot menu, select recovery mode, which is usually the second boot option. | |
4. In this case, you want the Drop to root shell prompt | |
5. In recent versions of Ubuntu, the filesystem is mounted as read-only, so you need to enter the follow command to get it to remount as read-write, which will allow you to make changes: | |
mount -rw -o remount / | |
6. whoami | |
7. passwd username | |
<masukan password 2x> | |
8. exit | |
9. resume | |
10. ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment