summaryrefslogtreecommitdiff
path: root/data/pam-exherbo
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2016-08-30 15:58:15 -0400
committerRay Strode <rstrode@redhat.com>2016-08-30 16:40:01 -0400
commitaa7fbd983aa0a6e7b8208530e2e64a4faa55984d (patch)
tree8260fe3884da48ff0e7124f8ebab1773220ce736 /data/pam-exherbo
parentbb12416da1f6e58bda1762eca956b5c61f36d180 (diff)
downloadgdm-aa7fbd983aa0a6e7b8208530e2e64a4faa55984d.tar.gz
pam: don't call into pam_unix if pam_gdm fails for autolgoin
If pam_gdm fails we shouldn't call into pam_unix since it can lead to the system asking for a password, and autologin isn't equipped for that. This commit changes the pam configuration to jump to pam_permit if pam_gdm fails. https://bugzilla.gnome.org/show_bug.cgi?id=770612
Diffstat (limited to 'data/pam-exherbo')
-rw-r--r--data/pam-exherbo/gdm-autologin.pam2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/pam-exherbo/gdm-autologin.pam b/data/pam-exherbo/gdm-autologin.pam
index 08f14a6b..61f8e547 100644
--- a/data/pam-exherbo/gdm-autologin.pam
+++ b/data/pam-exherbo/gdm-autologin.pam
@@ -2,7 +2,7 @@
# except for the authentication method, which is:
# always permit login
-auth optional pam_gdm.so
+auth [success=ok default=2] pam_gdm.so
auth substack system-local-login
-auth optional pam_gnome_keyring.so
auth sufficient pam_permit.so