WSL Tips and Tricks
Reset Root User's Password
- Open PowerShell, then use the
wsl -u rootcommand to change the password.
- At the prompt, enter
<username>is the account to change the password of, (e.g.
- Enter your password twice as prompted. It will not show in the terminal.
The password is now changed! Here's an example session using the username
Broader Topics Related to Windows Subsystem for Linux (WSL)
A free and open-source operating system
The Microsoft Windows Operating System