WSL/Как изменить пользователя по умолчанию

Материал из DZWIKI
< WSL
Перейти к навигации Перейти к поиску

Inside the instance, as root, create/edit /etc/wsl.conf and add these lines:

[user]
default=username

Then close it, run wsl --terminate <distro name> in PowerShell, and restart it.

См. также

Ссылки и источники