Skip to content

Commit

Permalink
Make oval of set_password_hashing_algorithm_systemauth to also exclud…
Browse files Browse the repository at this point in the history
…e the comment out hash
  • Loading branch information
alanmcanonical committed Dec 3, 2024
1 parent 137e856 commit 534534e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{{% endif %}}

{{% set pam_unix_algorithms = "(sha512|yescrypt|gost_yescrypt|blowfish|sha256|md5|bigcrypt)" %}}
{{% set hashing_pattern = line_pattern + "(?!.*" + pam_unix_algorithms + ".*" + pam_unix_algorithms + ").*" + pam_unix_algorithms + ".*$" %}}
{{% set hashing_pattern = line_pattern + "(?!.*" + pam_unix_algorithms + ".*" + pam_unix_algorithms + ")[^#]*" + pam_unix_algorithms + ".*$" %}}

<!--
In addition to the pam file, what usually differ between products are the controls in the
Expand Down

0 comments on commit 534534e

Please sign in to comment.