mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
[AUTH-9229] escaped exclamation mark
This commit is contained in:
parent
18ec88d174
commit
68c6bdff16
@ -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\$*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user