Add catch-all for bad verbs
This commit is contained in:
parent
6c0c68dd2e
commit
c1c1447d68
8
sshdpw
8
sshdpw
@ -15,6 +15,14 @@ case "${1}" in
|
|||||||
else
|
else
|
||||||
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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user