Ubuntu 22.04 LTS must enforce password complexity by requiring that at least one numeric character be used.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-260562 | UBTU-22-611020 | SV-260562r1015014_rule | CCI-004066 | medium |
| Description | ||||
| Use of a complex password helps to increase the time and resources required to compromise the password. Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. Password complexity is one factor of several that determines how long it takes to crack a password. The more complex the password, the greater the number of possible combinations that need to be tested before the password is compromised. | ||||
| STIG | Date | |||
| Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide | 2025-05-16 | |||
Related Frameworks
6 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
IA-5(1)
1.00
- DISA · 2 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1714 mappings
3.5.10
1.00
- DISA · 2 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.5.7
1.00
- DISA · 2 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.5.8
1.00
- DISA · 2 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.5.9
1.00
- DISA · 2 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-004066
1.00
- DISA · 2 · disa_xccdf · related
Details
Check Text (C-260562r1015014_chk)
Verify Ubuntu 22.04 LTS enforces password complexity by requiring that at least one numeric character be used by using the following command:
$ grep -i dcredit /etc/security/pwquality.conf
dcredit = -1
If "dcredit" is greater than "-1", is commented out, or is missing, this is a finding.
Fix Text (F-64199r953498_fix)
Configure Ubuntu 22.04 LTS to enforce password complexity by requiring that at least one numeric character be used.
Add or modify the following line in the "/etc/security/pwquality.conf" file:
dcredit = -1