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_authentication4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tests_authentication b/include/tests_authentication
index ad59897a..a14d62ee 100644
--- a/include/tests_authentication
+++ b/include/tests_authentication
@@ -114,7 +114,7 @@
# Test : AUTH-9216
# Description : Check /etc/group and shadow group files
if [ ! "${GRPCKBINARY}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
- Register --test-no AUTH-9216 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check group and shadow group files"
+ Register --test-no AUTH-9216 --preqs-met ${PREQS_MET} --weight L --network NO --root-only YES --description "Check group and shadow group files"
if [ ${SKIPTEST} -eq 0 ]; then
# Test : run grpck to test group files (most likely /etc/group and shadow group files)
# Expected result : 0 (exit code)
@@ -131,7 +131,7 @@
# Overrule for SuSE
if [ "${LINUX_VERSION}" = "SuSE" ]; then
- FIND=`${GRPCKBINARY} -q -r > /dev/null ; echo $?`
+ FIND=`${GRPCKBINARY} -q -r > /dev/null ; echo $?`
fi
# Check exit-code