[pam/f18] no output messages in gdm and su from pam_lastlog (temporary fix for F18)

Tomáš Mráz tmraz at fedoraproject.org
Wed Dec 5 22:57:16 UTC 2012


commit 371c73bd2b4620b99d7f1b87e2a7af119ca6e70a
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Wed Dec 5 23:57:06 2012 +0100

    no output messages in gdm and su from pam_lastlog (temporary fix for F18)
    
      (#881930)

 pam.spec       |    6 +++++-
 postlogin.pamd |    4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/pam.spec b/pam.spec
index 0c68c77..30cc47d 100644
--- a/pam.spec
+++ b/pam.spec
@@ -3,7 +3,7 @@
 Summary: An extensible library which provides authentication for applications
 Name: pam
 Version: 1.1.6
-Release: 3%{?dist}
+Release: 3%{?dist}.1
 # The library is BSD licensed with option to relicense as GPLv2+
 # - this option is redundant as the BSD license allows that anyway.
 # pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+.
@@ -382,6 +382,10 @@ fi
 %doc doc/adg/*.txt doc/adg/html
 
 %changelog
+* Wed Dec  5 2012 Tomas Mraz <tmraz at redhat.com> 1.1.6-3.1
+- no output messages in gdm and su from pam_lastlog (temporary fix for F18)
+  (#881930)
+
 * Mon Oct 15 2012 Tomas Mraz <tmraz at redhat.com> 1.1.6-3
 - add support for tmpfs mount options in pam_namespace
 
diff --git a/postlogin.pamd b/postlogin.pamd
index 9ebb870..70a3e64 100644
--- a/postlogin.pamd
+++ b/postlogin.pamd
@@ -2,6 +2,6 @@
 # This file is auto-generated.
 # User changes will be destroyed the next time authconfig is run.
 
-session     [success=1 default=ignore] pam_succeed_if.so service !~ gdm* quiet
-session     [default=1]   pam_lastlog.so nowtmp showfailed
+session     [success=1 default=ignore] pam_succeed_if.so service !~ gdm* service !~ su* quiet
+session     [default=1]   pam_lastlog.so nowtmp silent
 session     optional      pam_lastlog.so silent noupdate showfailed


More information about the scm-commits mailing list