Set pentesting mode to 1 when running as non-root user

This commit is contained in:
mboelen 2015-03-18 16:06:23 +01:00
parent 9932e878b1
commit 62d99afd80
1 changed files with 2 additions and 0 deletions

2
lynis
View File

@ -147,6 +147,8 @@
PRIVILEGED=1
else
echo "Start Lynis non-privileged"; echo "";
# Implied pentesting mode if not performed by root user
PENTESTINGMODE=1
fi
# Disable logging if no alternative was provided