diff --git a/configs/scripts/user.sh b/configs/scripts/user.sh index 89a0bd9..02234f4 100755 --- a/configs/scripts/user.sh +++ b/configs/scripts/user.sh @@ -8,6 +8,7 @@ trap '' SIGINT SIGTERM while true; do read -p "Enter a username (letters, preferably only lowercase, digits, underscores and hyphens): " username chroot /mnt /bin/bash -c "useradd -m '$username'" + chroot /mnt /bin/bash -c "chsh -s /bin/bash '$username'" if [ $? -eq 0 ]; then break