aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-08-17 10:30:39 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-08-17 10:30:39 +0300
commited4f15348fa950b02016154790bb6d180cccf5f9 (patch)
treeeac232e072890a924f5dffa0af87f1920502f594 /templates
parentAdd pam_pwquality.so support (diff)
downloadpambase-ed4f15348fa950b02016154790bb6d180cccf5f9.tar.gz
pambase-ed4f15348fa950b02016154790bb6d180cccf5f9.tar.bz2
pambase-ed4f15348fa950b02016154790bb6d180cccf5f9.zip
make pam_gnome_keyring optionalpambase-20200817
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/passwd.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/passwd.tpl b/templates/passwd.tpl
index 5f4f739..101a5fc 100644
--- a/templates/passwd.tpl
+++ b/templates/passwd.tpl
@@ -2,4 +2,7 @@ auth sufficient pam_rootok.so
auth include system-auth
account include system-auth
password include system-auth
--password optional pam_gnome_keyring.so {{ unix_authtok }}
+
+{% if gnome_keyring %}
+password optional pam_gnome_keyring.so {{ unix_authtok }}
+{% endif %}