{{{ oval_metadata("The password hashing algorithm should be set correctly in /etc/pam.d/system-auth.") }}} {{%- if product == "rhel7" %}} {{%- endif %}}
{{% if product in ['sle12', 'sle15'] %}} /etc/pam.d/common-password ^[\s]*password[\s]+(?:(?:required))[\s]+pam_unix\.so[\s]+.*sha512.*$ {{% else %}} /etc/pam.d/system-auth ^[\s]*password[\s]+(?:(?:required)|(?:sufficient))[\s]+pam_unix\.so[\s]+.*sha512.*$ {{% endif %}} 1