[gdm] pam-redhat: don't use substack in autologin case



commit f0ec5976544231be434bbf7c710645aaa1f7338d
Author: Ray Strode <rstrode redhat com>
Date:   Tue Sep 6 11:42:42 2016 -0400

    pam-redhat: don't use substack in autologin case
    
    It prevents postlogin from getting run.

 data/pam-redhat/gdm-autologin.pam |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/pam-redhat/gdm-autologin.pam b/data/pam-redhat/gdm-autologin.pam
index fbc9d9c..823c87a 100644
--- a/data/pam-redhat/gdm-autologin.pam
+++ b/data/pam-redhat/gdm-autologin.pam
@@ -1,9 +1,9 @@
- #%PAM-1.0
-auth       [success=ok default=2]    pam_gdm.so
-auth       substack    password-auth
-auth       optional    pam_gnome_keyring.so
-auth       sufficient  pam_permit.so
+#%PAM-1.0
+auth       [success=ok default=3] pam_gdm.so
+-auth      optional    pam_gnome_keyring.so
+auth       include     password-auth
 auth       include     postlogin
+auth       sufficient  pam_permit.so
 account    required    pam_nologin.so
 account    include     system-auth
 password   include     system-auth


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]