mirror of https://github.com/CISOfy/lynis.git
Add TODO for PAM checks on AUTH-9286
This commit is contained in:
parent
2ec24e73ed
commit
eb8b467915
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue