UBTU-20-010409 - The Ubuntu operating system must disable account identifiers (individuals, groups, roles, and devices) after 35 days of inactivity.

Information

Inactive identifiers pose a risk to systems and applications because attackers may exploit an inactive identifier and potentially obtain undetected access to the system. Owners of inactive accounts will not notice if unauthorized access to their user account has been obtained.

Operating systems need to track periods of inactivity and disable application identifiers after 35 days of inactivity.

Solution

Configure the Ubuntu operating system to disable account identifiers after 35 days of inactivity since the password expiration.

Run the following command to change the configuration for adduser:

$ sudo useradd -D -f 35

Note: DoD recommendation is 35 days, but a lower value is acceptable. The value '0' will disable the account immediately after the password expires.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V1R10_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-4e., CAT|II, CCI|CCI-000795, Rule-ID|SV-238330r928525_rule, STIG-ID|UBTU-20-010409, Vuln-ID|V-238330

Plugin: Unix

Control ID: 9437af583b4b3790cc6bcc27f57ddfded92469ce6c37f20cba0fe17239a9242a