[AUTH-9229] escaped exclamation mark

This commit is contained in:
Michael Boelen 2020-06-26 09:34:40 +02:00
parent 18ec88d174
commit 68c6bdff16
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04

View File

@ -293,7 +293,7 @@
if [ -e ${ROOTDIR}etc/shadow ]; then SHADOW="${ROOTDIR}etc/shadow"; fi
FIND=$(${CAT_BINARY} ${ROOTDIR}etc/passwd ${SHADOW} | ${AWKBINARY} -F : '{print length($2) ":" $2 }' | while read METHOD; do
case ${METHOD} in
1:\* | 1:x | 0: | *:!* | *LOCK*)
1:\* | 1:x | 0: | *:\!* | *LOCK*)
# disabled | shadowed | no password | locked account (can be literal *LOCK* or something like LOCKED)
;;
*:\$5\$*| *:\$6\$*)