diff options
author | David <2069735+Marzal@users.noreply.github.com> | 2019-07-18 00:25:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 00:25:40 +0300 |
commit | 8de806c9a7e6eaf69a7c66c191f5c59a782ee7cc (patch) | |
tree | afcc0dcef8c8807bc009c46f6900a32f9d652e1b /lynis | |
parent | 2576bc8fcafaf2a0bfe6342d25a4dbff91987e2b (diff) |
PRIVILEGED var needs to set in both cases
set PRIVILEGED in both cases, because now this variable is set before ". ${INCLUDEDIR}/consts" and needs not to be set in that file in order to not be reset to a default value.
Also fix typo:
PENTESTINGMODE is set when NO root privileges are used
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -129,7 +129,8 @@ PRIVILEGED=1 PENTESTINGMODE=0 else - # Set to pentesting mode if scan is with root privileges + PRIVILEGED=0 + # Set to pentesting mode if scan is without root privileges PENTESTINGMODE=1 fi |