WSL/Как изменить пользователя по умолчанию: различия между версиями
< WSL
Перейти к навигации
Перейти к поиску
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 Power...») |
Dzmuh (обсуждение | вклад) Нет описания правки |
||
| Строка 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.