SV-258105r1045212_rule
V-258105
SRG-OS-000075-GPOS-00043
RHEL-09-611080
CAT II
10
Configure noncompliant accounts to enforce a 24 hour minimum password lifetime:
$ sudo passwd -n 1 [user]
Verify that RHEL 9 has configured the minimum time period between password changes for each user account as one day or greater with the following command:
$ sudo awk -F: '$4 < 1 {printf "%s %d\n", $1, $4}' /etc/shadow
If any results are returned that are not associated with a system account, this is a finding.
V-258105
False
RHEL-09-611080
Verify that RHEL 9 has configured the minimum time period between password changes for each user account as one day or greater with the following command:
$ sudo awk -F: '$4 < 1 {printf "%s %d\n", $1, $4}' /etc/shadow
If any results are returned that are not associated with a system account, this is a finding.
M
5551