Add catch-all for bad verbs

master
BrainwreckedTech 2 years ago
parent 6c0c68dd2e
commit c1c1447d68

@ -16,6 +16,14 @@ case "${1}" in
FROM=no; TO=yes; FROM=no; TO=yes;
fi fi
;; ;;
*)
echo 'Must specify one of the following:'
echo ' [ on | yes | enable | unlock ] to allow interactive passwords'
echo ' [ off | no | disable | lock ] to disallow interactive passwords'
echo ' [ toggle ] to toggle the allowance of interactive passwords'
echo ' [ status ] to show the current state of interactive passwords'
exit 1
;;
esac esac
for OPTION in PasswordAuthentication ChallengeResponseAuthentication; do for OPTION in PasswordAuthentication ChallengeResponseAuthentication; do

Loading…
Cancel
Save