aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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