Check: GEN000540
Solaris 10 SPARC STIG:
GEN000540
(in versions v2 r4 through v1 r19)
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. # awk -F: '$4 < 1 {print $1}' /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: SV-226455r603265_rule
Vulnerability ID: V-226455
Group Title: SRG-OS-000075
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000198 |
The information system enforces minimum password lifetime restrictions. |
Controls
Number | Title |
---|---|
IA-5 (1) |
Password-Based Authentication |