STIGQter STIGQter: STIG Summary: Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide Version: 2 Release: 9 Benchmark Date: 01 Jul 2026:

Ubuntu 22.04 LTS must automatically expire temporary accounts within 72 hours.

DISA Rule

SV-260548r958364_rule

Vulnerability Number

V-260548

Group Title

SRG-OS-000002-GPOS-00002

Rule Version

UBTU-22-411040

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure Ubuntu 22.04 LTS to expire temporary accounts after 72 hours by using the following command:

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

Check Contents

Verify temporary accounts have been provisioned with an expiration date of 72 hours by using the following command:

$ sudo chage -l <temporary_account_name> | grep -E '(Password|Account) expires'
Password expires : Apr 1, 2024
Account expires : Apr 1, 2024

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-260548

Documentable

False

Rule Version

UBTU-22-411040

Severity Override Guidance

Verify temporary accounts have been provisioned with an expiration date of 72 hours by using the following command:

$ sudo chage -l <temporary_account_name> | grep -E '(Password|Account) expires'
Password expires : Apr 1, 2024
Account expires : Apr 1, 2024

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

5594