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
|
||||
while true; do
|
||||
read -p "The user's password?:" pass
|
||||
if [ "$pass" = '' ];then break;fi
|
||||
if ! [ "$pass" = '' ];then break;fi
|
||||
echo "Must set a password."
|
||||
done
|
||||
|
||||
#Add users public key
|
||||
while true; do
|
||||
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."
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue