summaryrefslogtreecommitdiffstats
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, 16 insertions, 0 deletions
diff --git a/data/pam-exherbo/gdm-smartcard.pam b/data/pam-exherbo/gdm-smartcard.pam
new file mode 100644
index 0000000..da650b8
--- /dev/null
+++ b/data/pam-exherbo/gdm-smartcard.pam
@@ -0,0 +1,16 @@
+#%PAM-1.0
+
+auth required pam_shells.so
+auth required pam_nologin.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