mirror of https://github.com/CISOfy/lynis.git
Initialise variable
This commit is contained in:
parent
94607e4ae4
commit
3e560c5ff5
1
lynis
1
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"
|
||||
|
|
Loading…
Reference in New Issue