mirror of https://github.com/CISOfy/lynis.git
Merge pull request #877 from bginsbach/auth-9268-add-bsd
Add FreeBSD and NetBSD to AUTH-9268
This commit is contained in:
commit
058b071ea2
|
@ -703,8 +703,13 @@
|
||||||
#
|
#
|
||||||
# Test : AUTH-9268
|
# Test : AUTH-9268
|
||||||
# Description : Searching available PAM files
|
# Description : Searching available PAM files
|
||||||
# Notes : PAM is used on AIX, FreeBSD, Linux, HPUX, Solaris
|
# Notes : PAM is used on AIX, FreeBSD, Linux, HPUX, NetBSD, Solaris
|
||||||
if [ ${OS} = "AIX" -o ${OS} = "Linux" -o ${OS} = "HPUX" -o ${OS} = "Solaris" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
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"
|
Register --test-no AUTH-9268 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking presence pam.d files"
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
FOUND=0
|
FOUND=0
|
||||||
|
|
Loading…
Reference in New Issue