RHEL9-CIS/templates/etc/security/pwquality.conf.d/50-pwcomplexity.conf.j2
Mark Bolwell fcf9eb674f
lint and best practise
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
2024-12-11 11:20:19 +00:00

11 lines
462 B
Django/Jinja

# CIS Configurations
# 5.3.3.2.3 Ensure password complexity is configured
{% if rhel9cis_passwd_complex_option == 'minclass' %} # pragma: allowlist secret
minclass = {{ rhel9cis_passwd_minclass }}
{% endif %}
{% if rhel9cis_passwd_complex_option == 'credits' %} # pragma: allowlist secret
dcredit = {{rhel9cis_passwd_dcredit }}
ucredit = {{ rhel9cis_passwd_ucredit }}
ocredit = {{ rhel9cis_passwd_ocredit }}
lcredit = {{ rhel9cis_passwd_lcredit }}
{% endif %}