commit:     ae72ea9e54b7f5035fb6b3120c0e75e79860e819
Author:     Samuli Suominen <ssuominen <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 13 14:13:15 2014 +0000
Commit:     Samuli Suominen <ssuominen <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 14:13:15 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/pambase.git;a=commit;h=ae72ea9e

Import -lastlog-silent.patch from gentoo-x86, see bug #468798

---
 login.in        | 2 ++
 system-login.in | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/login.in b/login.in
index 13abd27..14165a2 100644
--- a/login.in
+++ b/login.in
@@ -3,4 +3,6 @@ auth       include      system-local-login
 
 account    include     system-local-login
 password   include     system-local-login
+
+session    optional pam_lastlog.so DEBUG
 session    include     system-local-login

diff --git a/system-login.in b/system-login.in
index 0c3b5c8..11ac032 100644
--- a/system-login.in
+++ b/system-login.in
@@ -41,7 +41,7 @@ session               required        pam_selinux.so close
 session                required        pam_env.so DEBUG
 #endif
 #if HAVE_LASTLOG
-session                optional        pam_lastlog.so DEBUG
+session                optional        pam_lastlog.so silent DEBUG
 #endif
 session                include         system-auth
 #if HAVE_CONSOLEKIT

Reply via email to