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:
Diffstat (limited to 'include/tests_authentication')
-rw-r--r--include/tests_authentication3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tests_authentication b/include/tests_authentication
index b752897d..e6e4ef60 100644
--- a/include/tests_authentication
+++ b/include/tests_authentication
@@ -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