Fix script
This commit is contained in:
parent
090de0110b
commit
ed87e4ef83
1 changed files with 2 additions and 2 deletions
4
create_user.bash
Normal file → Executable file
4
create_user.bash
Normal file → Executable 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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue