Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2020-06-26 10:34:40 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2020-06-26 10:34:40 +0300
commit68c6bdff162de22480c61170bdce7c5dad0f51e1 (patch)
treeeb69a0248391a962d80918892ab8968d52bc30d5 /include/tests_authentication
parent18ec88d1749d65695fefc4fec0991e2681214758 (diff)
[AUTH-9229] escaped exclamation mark
Diffstat (limited to 'include/tests_authentication')
-rw-r--r--include/tests_authentication2
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\$*)