Reset the password in Ubuntu / Linux Bash in Windows
https://askubuntu.com/questions/772050/reset-the-password-in-ubuntu-linux-bash-in-windows
QuestionAnswer501edited Jun 8, 2018 at 15:24Run bash and make a note of your Linux username (this need not match your Windows username), see How can I find out my user name?Close Bash on Ubuntu if it is running (or the next command will fail).In Windows admin command prompt (Super+X, A) change the default user to root:
ubuntu config --default-user root
If you are using Ubuntu 18.04 in WSL, ... Run bash and make a note of your Linux username (this need not match your Windows username), see How can I find out my user name? Now Bash on Ubuntu on Windows logs you in as root without asking password Use passwd command in Bash to change the user password (the user whose password you want t...
Run bash and make a note of your Linux username (this need not match your Windows username), see How can I find out my user name?
Now Bash on Ubuntu on Windows logs you in as root without asking password
Use passwd command in Bash to change the user password (the user whose password you want t...
DA: 90 PA: 58 MOZ Rank: 96