Wsl: Unterschied zwischen den Versionen
Aus Thoms Wiki
Zur Navigation springenZur Suche springen
Seite erstellt |
Keine Bearbeitungszusammenfassung |
||
| Zeile 7: | Zeile 7: | ||
# Type <code>wsl</code> (optional <code>-d <distro-name></code>) | # Type <code>wsl</code> (optional <code>-d <distro-name></code>) | ||
# Type <code>sudo echo hi</code> to confirm the new root password works. | # Type <code>sudo echo hi</code> to confirm the new root password works. | ||
[[Kategorie:Linux]] | |||
Version vom 13. Februar 2025, 15:56 Uhr
Du kennst Dein Passwort für Deinen WSL-Benutzer nicht (mehr) und brauchst es für sudo?
- Open Windows terminal
cmd.exe - Type
wsl -u root(optional-d <distro-name>) - Type
passwd usernameand change the password - Type
exit - Type
wsl(optional-d <distro-name>) - Type
sudo echo hito confirm the new root password works.