I forgot my password to the Ubuntu app in Windows. Here is the way I reset it.
- close the app if you have it open
- open a command prompt as administrator, open ubuntu has root
- ubuntu config –default-user root
- you’ll be logged in as root, now change the password for your user name
- passwd username
- exit ubuntu
- reset ubuntu back to your username
- ubuntu config –default-user username
- exit ubuntu
- re-launch ubuntu
Got the steps here: https://askubuntu.com/questions/772050/reset-the-password-in-linux-bash-in-windows
Be First to Comment