This commit is contained in:
mitchell 2026-04-14 22:39:29 -04:00
parent 8a9b0b3a28
commit 2713e108aa
7 changed files with 113 additions and 4 deletions

View file

@ -158,7 +158,7 @@ function create_admin_user -a username pass
set -f username m
end
log "Creating user $username and adding to wheel group"
useradd -m -G wheel -s /usr/bin/fish $username
useradd -m -G wheel -s /usr/bin/zsh $username
echo $pass | passwd -s $username
passwd -l root
end