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>2018-01-24 21:41:15 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-01-24 21:41:15 +0300
commiteb8b4679152583f68d635c837353adbe1e4dbac7 (patch)
treedb0d066a30b8d812191c2fdc8784159a0fbedfb2
parent2ec24e73edad8b7aa2fff81c5a1112796ec1d79d (diff)
Add TODO for PAM checks on AUTH-9286
-rw-r--r--include/tests_authentication6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/tests_authentication b/include/tests_authentication
index 7ce2dc21..dc01969e 100644
--- a/include/tests_authentication
+++ b/include/tests_authentication
@@ -776,7 +776,11 @@
# Description : Check user password aging
# Notes : MIN = minimum age, avoid rotation of passwords too quickly
# : MAX = maximum age, ensure regular change of passwords
- if [ -f ${ROOTDIR}etc/login.defs ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
+ PREQS_MET="NO"
+ if [ -f ${ROOTDIR}etc/login.defs ]; then
+ PREQS_MET="YES"
+ # Future TODO: check if PAM overrule these settings
+ fi
Register --test-no AUTH-9286 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking user password aging"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: Checking PASS_MIN_DAYS option in ${ROOTDIR}etc/login.defs"