{"description": "The pam_cracklib module's <tt>minlen</tt> parameter controls requirements for\nminimum characters required in a password. Add <tt>minlen=<sub idref=\"var_password_pam_minlen\" /></tt>\n to set minimum password length requirements.", "rationale": "Password length is one factor of several that helps to determine\nstrength and how long it takes to crack a password. Use of more characters in\na password helps to exponentially increase the time and/or resources\nrequired to compromise the password.", "severity": "medium", "references": {"pcidss": ["Req-8.2.3"], "srg": ["SRG-OS-000078-GPOS-00046"], "anssi": ["R31"], "pcidss4": ["8.3.6", "8.3"]}, "control_references": {"anssi": ["R31"], "pcidss4": ["8.3.6", "8.3"]}, "components": [], "identifiers": {}, "ocil_clause": "minlen is not found or not set to the required value (or higher)", "ocil": "To check how many characters are required in a password, run the following command:\n<pre>$ grep pam_cracklib.so /etc/pam.d/common-password</pre>\nYour output should contain <tt>minlen=<sub idref=\"var_password_pam_minlen\" /></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 Minimum Length", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pamcracklib/cracklib_accounts_password_pam_minlen/rule.yml", "template": {"name": "pam_options", "vars": {"path": "/etc/pam.d/common-password", "type": "password", "control_flag": "requisite", "module": "pam_cracklib.so", "arguments": [{"variable": "minlen", "operation": "greater than or equal"}]}, "backends": {}}}