SV-226465r603265_rule
V-226465
SRG-OS-000076
GEN000700
CAT II
10
Set the max days field to 60 for all user accounts.
# passwd -x 60 <user>
Set the MAXWEEKS parameter in /etc/default/passwd to a positive, non-zero value of 8 or less.
Check the max days field (the 5th field) of /etc/shadow.
# awk -F: '{print $1 ":" $5;}' /etc/shadow
If the max days field is equal to 0 or greater than 60 for any account that is not password-locked, this is a finding.
V-226465
False
GEN000700
Check the max days field (the 5th field) of /etc/shadow.
# awk -F: '{print $1 ":" $5;}' /etc/shadow
If the max days field is equal to 0 or greater than 60 for any account that is not password-locked, this is a finding.
M
4060