From 68c6bdff162de22480c61170bdce7c5dad0f51e1 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Fri, 26 Jun 2020 09:34:40 +0200 Subject: [PATCH] [AUTH-9229] escaped exclamation mark --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\$*)