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 Power...»)
 
Нет описания правки
Строка 5: Строка 5:


Then close it, run wsl --terminate <distro name> in PowerShell, and restart it.
Then close it, run wsl --terminate <distro name> in PowerShell, and restart it.
== См. также ==
* [[Как создать файл в Linux]]


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

Версия от 18:51, 25 октября 2022

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.

См. также

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