diff options
author | mboelen <michael@cisofy.com> | 2015-04-21 15:12:05 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-04-21 15:12:05 +0300 |
commit | 3e560c5ff5c660847ba1c1ceddc90b570af6b49e (patch) | |
tree | 44328262e968aac65d6a163b943989b66a688de0 /lynis | |
parent | 94607e4ae4959cc0b85c268daaefe3f2187c5575 (diff) |
Initialise variable
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |