quentinproust / init-my-wsl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

init-my-wsl

backup your wsl

wsl --export Debian pve-checkpoint.tar

when you forgot your password

in CMD, change your default user to root (debian or ubuntu) :

debian config --default-user root

log into the wsl, you will be root

change your user password, for me it will be :

passwd qproust

change back your default user :

debian config --default-user qproust

relog into your wsl, your password will be ok.

About


Languages

Language:Shell 100.0%