mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Set pentesting mode to 1 when running as non-root user
This commit is contained in:
parent
9932e878b1
commit
62d99afd80
1 changed files with 2 additions and 0 deletions
2
lynis
2
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue