summaryrefslogtreecommitdiffstats
path: root/data/pam-arch/gdm-smartcard.pam
diff options
context:
space:
mode:
Diffstat (limited to 'data/pam-arch/gdm-smartcard.pam')
-rw-r--r--data/pam-arch/gdm-smartcard.pam17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/pam-arch/gdm-smartcard.pam b/data/pam-arch/gdm-smartcard.pam
new file mode 100644
index 0000000..6d7333b
--- /dev/null
+++ b/data/pam-arch/gdm-smartcard.pam
@@ -0,0 +1,17 @@
+#%PAM-1.0
+
+auth required pam_shells.so
+auth requisite pam_nologin.so
+auth requisite pam_faillock.so preauth
+auth required pam_pkcs11.so wait_for_card card_only
+auth optional pam_permit.so
+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 required pam_deny.so
+
+session include system-local-login
+session optional pam_gnome_keyring.so auto_start