UBTU-22-411025 - Ubuntu 22.04 LTS must enforce 24 hours/one day as the minimum password lifetime. Passwords for new users must have a 24 hours/one day minimum password lifetime restriction.

Information

Enforcing a minimum password lifetime helps to prevent repeated password changes to defeat the password reuse or history enforcement requirement. If users are allowed to immediately and continually change their password, then the password could be repeatedly changed in a short period of time to defeat the organization's policy regarding password reuse.

Solution

Configure Ubuntu 22.04 LTS to enforce a 24 hours/one day minimum password lifetime.

Add or modify the following line in the '/etc/login.defs' file:

PASS_MIN_DAYS 1

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V2R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(a), CAT|II, CCI|CCI-004066, Rule-ID|SV-260545r986280_rule, STIG-ID|UBTU-22-411025, Vuln-ID|V-260545

Plugin: Unix

Control ID: d3fba82e0f14344e72e45761652830b2a86414c1a377e3439c595afc7045765f