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_V2R2_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

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

Plugin: Unix

Control ID: 0e7cd3607c9f7ce6030bbc4884ec72f3cd1d8c228f3677c6eec4d44f7a04591d