Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2015-03-18 18:06:23 +0300
committermboelen <michael@cisofy.com>2015-03-18 18:06:23 +0300
commit62d99afd80b0875be782fcbba6ffeca243c86f93 (patch)
tree6f663fb3e92befe7a32b26d81a4ecf050e088a6c
parent9932e878b1b2b8ad64c85567069b46ba79b1e07d (diff)
Set pentesting mode to 1 when running as non-root user
-rwxr-xr-xlynis2
1 files changed, 2 insertions, 0 deletions
diff --git a/lynis b/lynis
index f94b1aa6..a6b28a65 100755
--- a/lynis
+++ b/lynis
@@ -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