DEV Community

Geeky Coder
Geeky Coder

Posted on

Update WSL Ubuntu password

Open Windows PowerShell as a Administrator
i) Run Following command:

wsl -u root
Enter fullscreen mode Exit fullscreen mode

ii) enter username:

passwd {your-username}

Enter fullscreen mode Exit fullscreen mode

iii) Update password:

Enter new password
Renter new password
Enter fullscreen mode Exit fullscreen mode

Top comments (0)