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>2020-04-03 10:45:21 +0300
committerGitHub <noreply@github.com>2020-04-03 10:45:21 +0300
commitf92fe4e03f5458651e7baaa401ff0f7c8e66b2bd (patch)
treefd7052f7b9196e305632a36c7a40e6e3de5cc346
parent84fb16fa9eb25af5a7d16d1555fe519e0cd0f6c0 (diff)
parent4bcd695428d7fb81e6ab8000a1d906b2e5043a7c (diff)
Merge pull request #898 from bginsbach/auth-9268
AUTH-9268 Add DragonFly
-rw-r--r--include/tests_authentication9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/tests_authentication b/include/tests_authentication
index d005882a..a0402042 100644
--- a/include/tests_authentication
+++ b/include/tests_authentication
@@ -817,13 +817,8 @@
# Test : AUTH-9268
# Description : Searching available PAM files
# Notes : PAM is used on AIX, FreeBSD, Linux, HPUX, NetBSD, Solaris
- case "${OS}" in
- "AIX"|"FreeBSD"|"Linux"|"HPUX"|"NetBSD"|"Solaris")
- PREQS_MET="YES" ;;
- *)
- PREQS_MET="NO" ;;
- esac
- Register --test-no AUTH-9268 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking presence pam.d files"
+ OS_USES_PAM="AIX DragonFly FreeBSD Linux HPUX NetBSD Solaris"
+ Register --test-no AUTH-9268 --os "${OS_USES_PAM}" --weight L --network NO --category security --description "Checking presence pam.d files"
if [ ${SKIPTEST} -eq 0 ]; then
FOUND=0
LogText "Test: Searching pam modules"