Skip to content

Instantly share code, notes, and snippets.

@SomajitDey
Created August 8, 2021 15:30
Show Gist options
  • Save SomajitDey/064575ee0c16ec5bc94267a1318716ad to your computer and use it in GitHub Desktop.
Save SomajitDey/064575ee0c16ec5bc94267a1318716ad to your computer and use it in GitHub Desktop.
How to change password in WSL

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment