SOL-11.1-040020 - The operating system must automatically terminate temporary accounts within 72 hours.

Information

If temporary user accounts remain active when no longer needed or for an excessive period, these accounts may be used to gain unauthorized access. To mitigate this risk, automated termination of all temporary accounts must be set upon account creation.

Temporary accounts are established as part of normal account activation procedures when there is a need for short-term accounts without the demand for immediacy in account activation.

If temporary accounts are used, the operating system must be configured to automatically terminate these types of accounts after a DoD-defined time period of 72 hours.

When temporary and emergency accounts are created, there is a risk the temporary account may remain in place and active after the need for the account no longer exists.

To address this, in the event temporary accounts are required, accounts designated as temporary in nature must be automatically terminated after 72 hours. Such a process and capability greatly reduces the risk of accounts being misused, hijacked, or data compromised.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

The User Security role is required.

Apply an expiration date to temporary users.

# pfexec usermod -e '[date]' [username]

Enter the date in the form mm/dd/yyyy such that it is within 72 hours.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SOL_11_SPARC_V3R1_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2(2), CAT|III, CCI|CCI-000016, Rule-ID|SV-216322r958364_rule, STIG-ID|SOL-11.1-040020, STIG-Legacy|SV-60821, STIG-Legacy|V-47949, Vuln-ID|V-216322

Plugin: Unix

Control ID: 663cb1cb559f632bd298296aedd32ed896a4c91903e7b4f437dbe69693d94b4a