Merge pull request #730 from Marzal/Marzal-PRIVILEGED

Fix $privileged var being overwrite
This commit is contained in:
Michael Boelen 2019-07-18 11:36:47 +02:00 committed by GitHub
commit 0e9e0fab36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,6 @@ unset LANG
POSTGRES_RUNNING=0 POSTGRES_RUNNING=0
PREVIOUS_TEST="No test ID" PREVIOUS_TEST="No test ID"
PREVIOUS_TS=0 PREVIOUS_TS=0
PRIVILEGED=0
PROFILES="" PROFILES=""
PROFILEVALUE="" PROFILEVALUE=""
PSBINARY="ps" PSBINARY="ps"

3
lynis
View File

@ -129,7 +129,8 @@
PRIVILEGED=1 PRIVILEGED=1
PENTESTINGMODE=0 PENTESTINGMODE=0
else 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 PENTESTINGMODE=1
fi fi