From a0cd63d48edbcb7d6daa3c4d6f55e12391d21157 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Thu, 9 Aug 2012 17:57:58 +0200 Subject: [PATCH] make the pam_lastlog module in postlogin 'optional' (#846843) --- pam.spec | 5 ++++- postlogin.pamd | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pam.spec b/pam.spec index 01fb39f..3fbe578 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.5 -Release: 8%{?dist} +Release: 9%{?dist} # 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+. @@ -391,6 +391,9 @@ fi %doc doc/adg/*.txt doc/adg/html %changelog +* Thu Aug 9 2012 Tomas Mraz - 1.1.5-9 +- make the pam_lastlog module in postlogin 'optional' (#846843) + * Mon Aug 6 2012 Tomas Mraz - 1.1.5-8 - fix build failure in pam_unix - add display of previous bad login attempts to postlogin.pamd diff --git a/postlogin.pamd b/postlogin.pamd index 75266f6..9ebb870 100644 --- a/postlogin.pamd +++ b/postlogin.pamd @@ -4,4 +4,4 @@ session [success=1 default=ignore] pam_succeed_if.so service !~ gdm* quiet session [default=1] pam_lastlog.so nowtmp showfailed -session required pam_lastlog.so silent noupdate showfailed +session optional pam_lastlog.so silent noupdate showfailed