SV-261389r1038967_rule
V-261389
SRG-OS-000076-GPOS-00044
SLEM-05-611070
CAT II
10
Configure SLEM 5 to enforce a maximum password age of each <username> account to 60 days. The command in the check text will give a list of users that need to be updated to be in compliance:
> sudo passwd -x 60 <username>
Verify that SLEM 5 enforces a maximum user password age of 60 days or less with the following command:
> sudo awk -F: '$5 > 60 || $5 == "" {print $1 ":" $5}' /etc/shadow
If any results are returned that are not associated with a system account, this is a finding.
V-261389
False
SLEM-05-611070
Verify that SLEM 5 enforces a maximum user password age of 60 days or less with the following command:
> sudo awk -F: '$5 > 60 || $5 == "" {print $1 ":" $5}' /etc/shadow
If any results are returned that are not associated with a system account, this is a finding.
M
5596