diff --git a/gdm-autologin.pamd b/gdm-autologin.pamd index 8931018..1a62f3f 100644 --- a/gdm-autologin.pamd +++ b/gdm-autologin.pamd @@ -1,5 +1,6 @@ #%PAM-1.0 # GDM PAM configuration for autologin +auth requisite pam_nologin.so auth required pam_permit.so account include common-account password include common-password diff --git a/gdm-fingerprint.pamd b/gdm-fingerprint.pamd index 4b3f2da..bc70b89 100644 --- a/gdm-fingerprint.pamd +++ b/gdm-fingerprint.pamd @@ -1,5 +1,6 @@ # Sample PAM file for doing fingerprint authentication. # Distros should replace this with what makes sense for them. +auth requisite pam_nologin.so auth required pam_env.so auth sufficient pam_succeed_if.so uid >= 500 quiet auth required pam_deny.so diff --git a/gdm-smartcard.pamd b/gdm-smartcard.pamd index e3638f1..5730ff1 100644 --- a/gdm-smartcard.pamd +++ b/gdm-smartcard.pamd @@ -1,5 +1,6 @@ # Sample PAM file for doing smartcard authentication. # Distros should replace this with what makes sense for them. +auth requisite pam_nologin.so auth required pam_env.so auth [success=done ignore=ignore default=die] pam_pkcs11.so wait_for_card card_only auth requisite pam_succeed_if.so uid >= 500 quiet diff --git a/gdm.changes b/gdm.changes index dc124f2..119a695 100644 --- a/gdm.changes +++ b/gdm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 17 11:50:34 UTC 2015 - dliang@suse.com + +- Add "auth requisite pam_nologin.so" to gdm.pamd, gdm-autologin.pamd + gdm-fingerprint.pamd and gdm-smartcard.pamd (bnc#897316) + ------------------------------------------------------------------- Thu Feb 26 12:03:15 UTC 2015 - fcrozat@suse.com diff --git a/gdm.pamd b/gdm.pamd index ccbac7b..1569003 100644 --- a/gdm.pamd +++ b/gdm.pamd @@ -1,5 +1,6 @@ #%PAM-1.0 # GDM PAM standard configuration (with passwords) +auth requisite pam_nologin.so auth include common-auth account include common-account password include common-password diff --git a/gdm.spec b/gdm.spec index 15efe55..2751e7e 100644 --- a/gdm.spec +++ b/gdm.spec @@ -1,7 +1,7 @@ # # spec file for package gdm # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed