From 068db38f784a2ad508ce20e40ee37b60c255cfd0 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sun, 17 Nov 2024 18:55:46 +0100 Subject: [PATCH] fixed default shell --- configs/scripts/user.sh | 1 + 1 file changed, 1 insertion(+) 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