SV-268079r1130948_rule
V-268079
SRG-OS-000002-GPOS-00002
ANIX-00-000020
CAT II
10
Configure the system to terminate emergency or temporary accounts after a 72-hour time period with the following command. Substitute "system_account_name" with the account to be created.
$ sudo chage -E "date -d "+3 days" +%Y-%m-%d" system_account_name
Verify that emergency or temporary accounts have been provisioned with an expiration date of 72 hours.
For every existing emergency or temporary account, run the following command to obtain its account expiration information.
$ sudo chage -l system_account_name
If any emergency or temporary accounts have no expiration date set or do not expire within 72 hours, this is a finding.
V-268079
False
ANIX-00-000020
Verify that emergency or temporary accounts have been provisioned with an expiration date of 72 hours.
For every existing emergency or temporary account, run the following command to obtain its account expiration information.
$ sudo chage -l system_account_name
If any emergency or temporary accounts have no expiration date set or do not expire within 72 hours, this is a finding.
M
5658