4
0
Fork 0
RHEL9-CIS/templates/etc/security/pwquality.conf.d/50-pwcomplexity.conf.j2
Mark Bolwell 485a85db76
improved jinja logic
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
2024-08-08 11:08:22 +01:00

11 lines
402 B
Django/Jinja

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