summaryrefslogtreecommitdiff
path: root/data/pam-exherbo/gdm-smartcard.pam
diff options
context:
space:
mode:
Diffstat (limited to 'data/pam-exherbo/gdm-smartcard.pam')
-rw-r--r--data/pam-exherbo/gdm-smartcard.pam16
1 files changed, 7 insertions, 9 deletions
diff --git a/data/pam-exherbo/gdm-smartcard.pam b/data/pam-exherbo/gdm-smartcard.pam
index 0623c6ed..da650b86 100644
--- a/data/pam-exherbo/gdm-smartcard.pam
+++ b/data/pam-exherbo/gdm-smartcard.pam
@@ -1,18 +1,16 @@
-# mirrors system-auth / system(-local)-login
-# except for the authentication method, which is:
-# smartcard login
+#%PAM-1.0
-auth required pam_env.so
-auth required pam_tally.so file=/var/log/faillog onerr=succeed
auth required pam_shells.so
auth required pam_nologin.so
-auth [success=done ignore=ignore default=die] pam_pkcs11.so wait_for_card card_only
--auth optional pam_gnome_keyring.so
+auth required pam_faillock.so preauth
+auth required pam_pkcs11.so wait_for_card card_only
+auth required pam_env.so
+auth [success=ok default=1] pam_gdm.so
+auth optional pam_gnome_keyring.so
account include system-local-login
password include system-local-login
session include system-local-login
--session optional pam_gnome_keyring.so auto_start
-
+session optional pam_gnome_keyring.so auto_start