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:
authorMichael Boelen <michael.boelen@cisofy.com>2016-07-31 22:15:31 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-31 22:15:31 +0300
commit290252b764da17d3a1a382edaf50d9f4f0603c32 (patch)
tree49696311176bcb1a7119250c3574b7af578b5f22
parent61c1b0d8e98022433a07edb5d6b7d681a6f80b28 (diff)
[AUTH-9212] Added prerequisite to log
-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