aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-03-13 16:13:15 +0200
committerSamuli Suominen <ssuominen@gentoo.org>2014-03-13 16:13:15 +0200
commitae72ea9e54b7f5035fb6b3120c0e75e79860e819 (patch)
tree35e07dd4360d3a6dc27b747bf76954b33afee112
parentImport -systemd.patch and -systemd-auth.patch from gentoo-x86, see both bugs ... (diff)
downloadpambase-ae72ea9e54b7f5035fb6b3120c0e75e79860e819.tar.gz
pambase-ae72ea9e54b7f5035fb6b3120c0e75e79860e819.tar.bz2
pambase-ae72ea9e54b7f5035fb6b3120c0e75e79860e819.zip
Import -lastlog-silent.patch from gentoo-x86, see bug #468798pambase-20140313
-rw-r--r--login.in2
-rw-r--r--system-login.in2
2 files changed, 3 insertions, 1 deletions
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