[pam/f20: 4/4] F20 only: disable message from pam_lastlog

Tomáš Mráz tmraz at fedoraproject.org
Mon Oct 14 13:54:14 UTC 2013


commit 65682798a706a9ceb3563324a757e6f96c8ada92
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Mon Oct 14 15:53:53 2013 +0200

    F20 only: disable message from pam_lastlog

 pam.spec       |    1 +
 postlogin.pamd |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pam.spec b/pam.spec
index ec8f4ff..10efe59 100644
--- a/pam.spec
+++ b/pam.spec
@@ -372,6 +372,7 @@ fi
 * Mon Oct 14 2013 Tomáš Mráz <tmraz at redhat.com> 1.1.8-1
 - new upstream release
 - pam_tty_audit: allow the module to work with old kernels
+- F20 only: disable message from pam_lastlog
 
 * Fri Oct  4 2013 Tomáš Mráz <tmraz at redhat.com> 1.1.7-3
 - pam_tty_audit: proper initialization of the tty_audit_status struct
diff --git a/postlogin.pamd b/postlogin.pamd
index 9ebb870..f3bb224 100644
--- a/postlogin.pamd
+++ b/postlogin.pamd
@@ -3,5 +3,5 @@
 # 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     [default=1]   pam_lastlog.so nowtmp silent
 session     optional      pam_lastlog.so silent noupdate showfailed


More information about the scm-commits mailing list