mirror of https://github.com/CISOfy/lynis.git
[AUTH-9212] Added prerequisite to log
This commit is contained in:
parent
61c1b0d8e9
commit
290252b764
|
@ -94,7 +94,8 @@
|
|||
#
|
||||
# Test : AUTH-9212
|
||||
# Description : Test group file with chkgrp tool (ie FreeBSD)
|
||||
if [ -f /usr/sbin/chkgrp ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
LogText "Prerequisite test: /usr/sbin/chkgrp"
|
||||
if [ -x /usr/sbin/chkgrp ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||
Register --test-no AUTH-9212 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Test group file"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
Display --indent 2 --text "- Checking chkgrp tool" --result "${STATUS_FOUND}" --color GREEN
|
||||
|
|
Loading…
Reference in New Issue