{"description": "The pam_cracklib module's <tt>ucredit=</tt> parameter controls requirements\nfor usage of uppercase letters in a password. When set to a negative\nnumber, any password will be required to contain that many uppercase\ncharacters. When set to a positive number, pam_cracklib will grant +1\nadditional length credit for each uppercase character.\nAdd <tt>ucredit=-1</tt> after pam_cracklib.so to require use of an upper\ncase character in passwords.", "rationale": "Requiring a minimum number of uppercase characters makes password guessing\nattacks more difficult by ensuring a larger search space.", "severity": "medium", "references": {"pcidss": ["Req-8.2.3"], "srg": ["SRG-OS-000069-GPOS-00037"], "anssi": ["R31"]}, "control_references": {"anssi": ["R31"]}, "components": [], "identifiers": {}, "ocil_clause": "ucredit is not found or not set to the required value", "ocil": "To check how many uppercase characters are required in a password, run the\nfollowing command:\n<pre>grep pam_cracklib.so /etc/pam.d/common-password\npassword requisite pam_cracklib.so ucredit=<sub idref=\"var_password_pam_ucredit\" /></pre>\nThe <tt>ucredit</tt> parameter (as a negative number) will indicate how\nmany uppercase characters are required.\nThe profile require at least <sub idref=\"var_password_pam_ucredit\" /> uppercase character in a password.\nThis would appear as <tt>ucredit=-<sub idref=\"var_password_pam_ucredit\" /></tt>.", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Set Password Strength Minimum Uppercase Characters", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pamcracklib/cracklib_accounts_password_pam_ucredit/rule.yml", "template": {"name": "pam_options", "vars": {"path": "/etc/pam.d/common-password", "type": "password", "control_flag": "requisite", "module": "pam_cracklib.so", "arguments": [{"variable": "ucredit", "operation": "less than or equal"}]}, "backends": {}}}