Retry setting a password until it works
This commit is contained in:
parent
109e62335f
commit
64b5cacca7
1 changed files with 5 additions and 1 deletions
|
@ -11,4 +11,8 @@ then
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
echo "Please Choose a New Password for User \`$USER_NAME\`";
|
echo "Please Choose a New Password for User \`$USER_NAME\`";
|
||||||
passwd "$USER_NAME";
|
|
||||||
|
while ! passwd "$USER_NAME";
|
||||||
|
do
|
||||||
|
echo "An error occurred! Please try again."
|
||||||
|
done;
|
||||||
|
|
Loading…
Reference in a new issue