In cmd.exe: wsl -u root
. This logs you in as root in Linux. There from you are free to change password as usual with: passwd username
Created
August 8, 2021 15:30
-
-
Save SomajitDey/064575ee0c16ec5bc94267a1318716ad to your computer and use it in GitHub Desktop.
How to change password in WSL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment