diff options
-rwxr-xr-x | cron-sh/scripts/05_access.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/scripts/05_access.sh b/cron-sh/scripts/05_access.sh index 033aa6b..4fe5d82 100755 --- a/cron-sh/scripts/05_access.sh +++ b/cron-sh/scripts/05_access.sh @@ -65,7 +65,7 @@ fi ### Shadow password file Check if check_is_enabled "${CHECK_SHADOW}" ; then awk -F: '{ - if ( $2 == "" ) + if ( $2 == "" && $1 != "xguest" ) printf("\t\t- /etc/shadow:%d: User \"%s\" has no password !\n", FNR, $1); }' < /etc/shadow > ${MSEC_TMP} Filter ${MSEC_TMP} CHECK_SHADOW |