diff --git a/include/consts b/include/consts index 4f8c5246..e78ca8e9 100644 --- a/include/consts +++ b/include/consts @@ -219,7 +219,6 @@ unset LANG POSTGRES_RUNNING=0 PREVIOUS_TEST="No test ID" PREVIOUS_TS=0 - PRIVILEGED=0 PROFILES="" PROFILEVALUE="" PSBINARY="ps" diff --git a/lynis b/lynis index 35a023ef..992fb3dd 100755 --- a/lynis +++ b/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