summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/pam-exherbo/gdm-autologin.pam2
-rw-r--r--data/pam-redhat/gdm-autologin.pam2
2 files changed, 2 insertions, 2 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
diff --git a/data/pam-redhat/gdm-autologin.pam b/data/pam-redhat/gdm-autologin.pam
index c2efea86..fbc9d9ca 100644
--- a/data/pam-redhat/gdm-autologin.pam
+++ b/data/pam-redhat/gdm-autologin.pam
@@ -1,5 +1,5 @@
#%PAM-1.0
-auth optional pam_gdm.so
+auth [success=ok default=2] pam_gdm.so
auth substack password-auth
auth optional pam_gnome_keyring.so
auth sufficient pam_permit.so