Rule ID
SV-254218r982188_rule
Version
V1R2
CCIs
Enforcing a minimum password lifetime helps to prevent repeated password changes to defeat the password reuse or history enforcement requirement. If users are allowed to immediately and continually change their password, then the password could be repeatedly changed in a short period of time to defeat the organization's policy regarding password reuse.
Confirm Nutanix AOS is configured to enforce 24 hour/1 day minimum password lifetime.
$ sudo grep -i pass_min_days /etc/login.defs
PASS_MIN_DAYS 1
If the "PASS_MIN_DAYS" parameter value is not "1" or greater, or is commented out, this is a finding.
$ sudo awk -F: '$4 < 1 {print $1 " " $4}' /etc/shadow
If any results are returned that are not associated with a system account, this is a finding.Configure the password minimum age by running the following command: $ sudo salt-call state.sls security/CVM/pamCVM