<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10px"><div id="yui_3_16_0_ym19_1_1488851272667_29307"><span id="yui_3_16_0_ym19_1_1488851272667_29314">Hi,</span></div><div id="yui_3_16_0_ym19_1_1488851272667_29315"><span id="yui_3_16_0_ym19_1_1488851272667_29314"><br></span></div><div id="yui_3_16_0_ym19_1_1488851272667_29356" dir="ltr"><span id="yui_3_16_0_ym19_1_1488851272667_29314">I'm using shadow-4.1.4.3 with libpam-1.1.6-r3. The login.c only logged failed login attempts to /var/log/btmp within the block of #ifndef USE_PAM. As a result, I could not use pam_lastlog with showfailed option to display failed login.</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1488851272667_29440"><span id="yui_3_16_0_ym19_1_1488851272667_29314"><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1488851272667_30321"><span id="yui_3_16_0_ym19_1_1488851272667_29314">Does anyone know how shadow would provide provide these information with libpam installed?</span></div><div id="yui_3_16_0_ym19_1_1488851272667_29360"> </div><div class="signature" id="yui_3_16_0_ym19_1_1488851272667_29362"><div id="yui_3_16_0_ym19_1_1488851272667_29361">Thanks, </div><div id="yui_3_16_0_ym19_1_1488851272667_29363">Phong</div></div></div></body></html>