Closed tbraun84 closed 1 year ago
It's built using wsldl (see https://github.com/mishamosher/CentOS-WSL/blob/9-stream/build.sh#L16) . You can run .\CentOS.exe config --default-user averagejoe
to set the default user as averagejoe
.
Or more universally, you can run the distro with --user handsomejake
param setting in Windows Terminal or set User in /etc/wsl.conf
inside WSL:
# Set the user when launching a distribution with WSL.
[user]
default = DemoUser
To prevent me from doing something foolish, I would like to launch CentOS with a non-root account. Is this setting "visible" in the builds?