Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

How to reset Linux password in Windows Subsystem for Linux

The following method was not available when the question was originally asked (or when the previous answers were written), but the wsl command now can handle this far easier (and more safely) than the ...
NotTheDr01ds's user avatar
  • 22.7k
1 vote

How to reset my WSL Ubuntu password?

I had the same problem. The first comment by @Ramhound solved it for me. In the terminal outside of WSL: Run wsl -u root. You're logged in as root user now in WSL. Run passwd <username> Enter ...
Simulan88's user avatar

Top 50 recent answers are included