Disable root bash login during installation

This commit is contained in:
Manuel Thalmann 2024-07-30 00:54:43 +02:00
parent 01ae7ce2d0
commit aa958b2656

View file

@ -6,6 +6,7 @@ source "$dir/../Scripts/hooks.fish"
if [ (id -u) -eq 0 ] if [ (id -u) -eq 0 ]
set -l name (getConfig valhalla.setupUser.name) set -l name (getConfig valhalla.setupUser.name)
set -l sudoConfig "/etc/sudoers.d/PortValhalla" set -l sudoConfig "/etc/sudoers.d/PortValhalla"
rm ~/.bash_profile
runHook createUser || \ runHook createUser || \
begin begin