Check: GEN000540
Title
Users must not be able to change passwords more than once every 24 hours. (Cat II impact)
Discussion
The ability to change passwords frequently facilitates users reusing the same password. This can result in users effectively never changing their passwords. This would be accomplished by users changing their passwords when required and then immediately changing it to the original value.
Check Content
Check the minimum time period between password changes for each user account is 1 day or greater. # cat /etc/shadow If any results are returned that are not associated with a system account, this is a finding.
Fix Text
Edit the /etc/default/passwd file and set the variable "MINWEEKS" to 1 or greater. Set the per-user minimum password change times by using the following command on each user account. # passwd -n <number of days> <accountname>
Additional Identifiers
Rule ID:
Vulnerability ID: V-1032
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |