Reset Password on WSL2Reset Password on WSL2Reset Password on WSL2

2020::05::20
1 min
AUTHOR:Z.SHINCHVEN

It is tricky and easy to reset password on WSL2.

To do that, first of all, you need to set login as root by default:

ubuntu config --default-user root

Then change your password as root:

passwd <YOUR_USERNAME>

Change the password of root, of course:

passwd

In the end, change the default user of WSL2 back to your own username:

ubuntu config --default-user <YOUR_USERNAME>
RackNerd Billboard Banner
Share Node:

RELATED_DATA_STREAMS

SCANNING_DATABASE_FOR_CORRELATIONS...