summaryrefslogtreecommitdiffstats
path: root/desktop/gdm/gdm-password.pam
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gdm/gdm-password.pam')
-rw-r--r--desktop/gdm/gdm-password.pam22
1 files changed, 22 insertions, 0 deletions
diff --git a/desktop/gdm/gdm-password.pam b/desktop/gdm/gdm-password.pam
new file mode 100644
index 0000000000..b88b18fae0
--- /dev/null
+++ b/desktop/gdm/gdm-password.pam
@@ -0,0 +1,22 @@
+# Begin /etc/pam.d/gdm-password
+
+auth substack system-auth
+
+# Uncomment this line to restrict login to users with a UID greater
+# than 999 (in other words, don't allow login for root):
+#auth required pam_succeed_if.so uid >= 1000 quiet
+
+auth optional pam_gnome_keyring.so
+
+account include system-auth
+
+password include system-auth
+-password optional pam_gnome_keyring.so use_authtok
+
+session optional pam_keyinit.so force revoke
+session include system-auth
+session required pam_loginuid.so
+session optional pam_elogind.so
+session optional pam_gnome_keyring.so auto_start
+session include postlogin
+# End /etc/pam.d/gdm-password \ No newline at end of file