Step-by-Step Guide to Resetting Your Ubuntu Username and Password on WSL
1. Launch WSL as Root
Why?Starting as the root user lets you modify any user’s settings without hassle.
How-to:
Open PowerShell or Command Prompt: Run:
wsl -d Ubuntu -u root
(Tip: Replace “Ubuntu” with your distro name if different.)
Reset yo...
mmd.hashnode.dev2 min read