WSL/Как изменить пользователя по умолчанию
< WSL
Перейти к навигации
Перейти к поиску
Версия от 15:20, 17 декабря 2023; Dzmuh (обсуждение | вклад)
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.