Reset the password in Ubuntu for Windows WSL
In Windows admin command prompt (Super+X, A) change the default user to root:
ubuntu config --default-user root
Use passwd
command in Bash to change the user password (the user whose password you want to reset):
Change the default user back to your normal user in Windows command prompt
ubuntu config --default-user your_username
Comments
Post a Comment