From acd1f9046c8d79ba5e232043131f6c9842d357e7 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Tue, 4 Aug 2020 16:35:41 +0300 Subject: fix pam_ssh formatting Signed-off-by: Mikle Kolyada --- templates/system-auth.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl index 13f5c0d..e8a6d91 100644 --- a/templates/system-auth.tpl +++ b/templates/system-auth.tpl @@ -35,7 +35,7 @@ password [success=1 default=ignore] pam_krb5.so {{ krb5_params }} password required pam_unix.so try_first_pass {{ unix_authtok|default('', true) }} {{ nullok|default('', true) }} {{ unix_extended_encryption|default('', true) }} {{ debug|default('', true) }} password optional pam_permit.so -{%- if pam_ssh -%} +{%- if pam_ssh %} session optional pam_ssh.so {% endif -%} -- cgit v1.2.3-65-gdbad