{{% if product in ["sle12", "sle15"] %}} {{% set pam_passwd_file_path = "/etc/pam.d/common-password" %}} {{% else %}} {{% set pam_passwd_file_path = "/etc/pam.d/password-auth" %}} {{% endif %}} {{{ oval_metadata("The number of rounds for password hashing should be set correctly.") }}} ^{{{ pam_passwd_file_path }}}$ ^\s*password\s+(?:(?:sufficient)|(?:required))\s+pam_unix\.so.*rounds=([0-9]*).*$ 1 var_password_pam_unix_rounds 5000