mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
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
This commit is contained in:
parent
2576bc8fca
commit
8de806c9a7
1 changed files with 2 additions and 1 deletions
3
lynis
3
lynis
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue