mirror of https://github.com/CISOfy/lynis.git
[FIRE-4518] mark as a root-only test
This commit is contained in:
parent
e0ea967f01
commit
3a57b628d6
|
@ -192,7 +192,7 @@
|
|||
# Description : Checking status of pf firewall components
|
||||
# Notes : Use /dev/pf as first detection method if pf is available
|
||||
if [ -e /dev/pf ]; then PREQS_MET="YES"; SKIPREASON=""; else PREQS_MET="NO"; SKIPREASON="No /dev/pf device"; fi
|
||||
Register --test-no FIRE-4518 --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight L --network NO --category security --description "Check pf firewall components"
|
||||
Register --test-no FIRE-4518 --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight L --network NO --root-only --category security --description "Check pf firewall components"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
PFFOUND=0; PFLOGDFOUND=0
|
||||
|
||||
|
|
Loading…
Reference in New Issue