STIGQter STIGQter: STIG Summary: Red Hat Enterprise Linux 8 Security Technical Implementation Guide Version: 2 Release: 8 Benchmark Date: 01 Jul 2026:

RHEL 8 must automatically expire temporary accounts within 72 hours.

DISA Rule

SV-230374r1069293_rule

Vulnerability Number

V-230374

Group Title

SRG-OS-000123-GPOS-00064

Rule Version

RHEL-08-020270

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure the operating system to expire temporary accounts after 72 hours with the following command:

$ sudo chage -E $(date -d +3days +%Y-%m-%d) <temporary_account_name>

Check Contents

Note: If temporary accounts do not exist or are not used this is not applicable.

Verify temporary accounts have been provisioned with an expiration date of 72 hours.

For every existing temporary account, run the following command to obtain its account expiration information:

$ sudo chage -l <temporary_account_name> | grep -i "account expires"

Verify each of these accounts has an expiration date set within 72 hours.
If any temporary accounts have no expiration date set or do not expire within 72 hours, this is a finding.

Vulnerability Number

V-230374

Documentable

False

Rule Version

RHEL-08-020270

Severity Override Guidance

Note: If temporary accounts do not exist or are not used this is not applicable.

Verify temporary accounts have been provisioned with an expiration date of 72 hours.

For every existing temporary account, run the following command to obtain its account expiration information:

$ sudo chage -l <temporary_account_name> | grep -i "account expires"

Verify each of these accounts has an expiration date set within 72 hours.
If any temporary accounts have no expiration date set or do not expire within 72 hours, this is a finding.

Check Content Reference

M

Target Key

2921