DamionGans / ubuntu-wsl2-systemd-script

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images
1.56k stars 382 forks source link

Why excluding root from start-systemd-namespace #97

Open crazyhouse33 opened 1 year ago

crazyhouse33 commented 1 year ago

I am desabling this check to make my wsl configuration scripts work. But I dont understand why this check is there in the first place. So can someone explain me what it the purpose of it so I can rest at night ? [ "$LOGNAME" != "root" ] https://github.com/DamionGans/ubuntu-wsl2-systemd-script/blob/master/start-systemd-namespace#L5