Initialise variable

This commit is contained in:
mboelen 2015-04-21 14:12:05 +02:00
parent 94607e4ae4
commit 3e560c5ff5
1 changed files with 1 additions and 0 deletions

1
lynis
View File

@ -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"