Wsl

Aus Thoms Wiki
Zur Navigation springenZur Suche springen

Du kennst Dein Passwort für Deinen WSL-Benutzer nicht (mehr) und brauchst es für sudo?

  1. Open Windows terminal cmd.exe
  2. Type wsl -u root (optional -d <distro-name>)
  3. Type passwd username and change the password
  4. Type exit
  5. Type wsl (optional -d <distro-name>)
  6. Type sudo echo hi to confirm the new root password works.