summaryrefslogtreecommitdiffstats
path: root/data/pam-lfs/gdm-smartcard.pam
diff options
context:
space:
mode:
Diffstat (limited to 'data/pam-lfs/gdm-smartcard.pam')
-rw-r--r--data/pam-lfs/gdm-smartcard.pam17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/pam-lfs/gdm-smartcard.pam b/data/pam-lfs/gdm-smartcard.pam
new file mode 100644
index 0000000..f2c1b64
--- /dev/null
+++ b/data/pam-lfs/gdm-smartcard.pam
@@ -0,0 +1,17 @@
+# Begin /etc/pam.d/gdm-smartcard
+
+auth requisite pam_nologin.so
+auth required pam_env.so
+
+auth required pam_succeed_if.so uid >= 1000 quiet
+auth required pam_pkcs11.so wait_for_card card_only
+auth optional pam_gnome_keyring.so
+
+account include system-account
+password required pam_pkcs11.so
+
+session required pam_limits.so
+session include system-session
+session optional pam_gnome_keyring.so auto_start
+
+# End /etc/pam.d/gdm-smartcard