Fix script

This commit is contained in:
Ceres 2025-09-29 20:40:48 +01:00
parent 090de0110b
commit ed87e4ef83

4
create_user.bash Normal file → Executable file
View file

@ -33,14 +33,14 @@ done
#Set User password #Set User password
while true; do while true; do
read -p "The user's password?:" pass read -p "The user's password?:" pass
if [ "$pass" = '' ];then break;fi if ! [ "$pass" = '' ];then break;fi
echo "Must set a password." echo "Must set a password."
done done
#Add users public key #Add users public key
while true; do while true; do
read -p "The path to the user's pubkey?:" key read -p "The path to the user's pubkey?:" key
if [[ "$key" = '' ]];then break;fi if ! [ "$key" = '' ];then break;fi
echo "Must set a pubkey." echo "Must set a pubkey."
done done