diff --git a/lynis b/lynis index 01552d74..f8cdc18a 100755 --- a/lynis +++ b/lynis @@ -90,6 +90,7 @@ OWNER2ID=`ls -n ${INCLUDEDIR}/functions | awk -F" " '{ print $3 }'` ISSUE=0 + SHOWPERMERROR=0 # Check permissions of include/consts file (400, 600, 640, 644) if [ ! "${PERMS}" = "r--------" -a ! "${PERMS}" = "rw-------" -a ! "${PERMS}" = "rw-r-----" -a ! "${PERMS}" = "rw-r--r--" ]; then ISSUE=1; echo "[!] Change file permissions of ${INCLUDEDIR}/consts to 640."; echo " Command: chmod 640 ${INCLUDEDIR}/consts"