Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lynis
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2015-04-21 15:12:05 +0300
committermboelen <michael@cisofy.com>2015-04-21 15:12:05 +0300
commit3e560c5ff5c660847ba1c1ceddc90b570af6b49e (patch)
tree44328262e968aac65d6a163b943989b66a688de0 /lynis
parent94607e4ae4959cc0b85c268daaefe3f2187c5575 (diff)
Initialise variable
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis1
1 files changed, 1 insertions, 0 deletions
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"