From 3e560c5ff5c660847ba1c1ceddc90b570af6b49e Mon Sep 17 00:00:00 2001 From: mboelen Date: Tue, 21 Apr 2015 14:12:05 +0200 Subject: [PATCH] Initialise variable --- lynis | 1 + 1 file changed, 1 insertion(+) 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"