diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-06-26 10:34:40 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2020-06-26 10:34:40 +0300 |
commit | 68c6bdff162de22480c61170bdce7c5dad0f51e1 (patch) | |
tree | eb69a0248391a962d80918892ab8968d52bc30d5 /include/tests_authentication | |
parent | 18ec88d1749d65695fefc4fec0991e2681214758 (diff) |
[AUTH-9229] escaped exclamation mark
Diffstat (limited to 'include/tests_authentication')
-rw-r--r-- | include/tests_authentication | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_authentication b/include/tests_authentication index 49ba49db..1a78f8a2 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -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\$*) |