{"description": "The PAM system service can be configured to only store encrypted representations of passwords.\nIn \"/etc/pam.d/common-password\", the <tt>password</tt> section of the file controls which\nPAM modules to execute during a password change.\n\nSet the <tt>pam_unix.so</tt> module in the <tt>password</tt> section to include the option\n<tt>sha512</tt> and no other hashing algorithms as shown below:\n<br />\n<pre>password    [success=1 default=ignore]   pam_unix.so sha512 <i>other arguments...</i></pre>\n<br />\nThis will help ensure that new passwords for local users will be stored using the sha512 algorithm.", "rationale": "Passwords need to be protected at all times, and encryption is the standard method for\nprotecting passwords. If passwords are not encrypted, they can be plainly read\n(i.e., clear text) and easily compromised. Passwords that are encrypted with a weak algorithm\nare no more protected than if they are kept in plain text.\n<br /><br />\nThis setting ensures user and group account administration utilities are configured to store\nonly encrypted representations of passwords.", "severity": "medium", "references": {}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": null, "ocil": null, "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "package[pam]", "platforms": ["package[pam]"], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": ["package_pam"], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Set Password Hashing Algorithm for PAM", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-pam/set_password_hashing_algorithm/set_password_hashing_algorithm_auth_stig/rule.yml", "template": null}