This commit is contained in:
Patrick 2024-11-17 13:22:07 +01:00
parent 1034adbf9e
commit df0d38a41b

View file

@ -6,7 +6,7 @@
trap '' SIGINT SIGTERM trap '' SIGINT SIGTERM
while true; do while true; do
read -p "Enter a username (letters, prefferably only lowercase, digits, underscores and hyphens): " username 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 "useradd -m '$username'"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then