Date: Tue, 12 Nov 2002 16:36:31 +0300 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Dag-Erling Smorgrav <des@ofug.org> Cc: current@freebsd.org Subject: Re: sshd: double "Last login:" bugfix spammed again Message-ID: <20021112133631.GA29498@nagual.pp.ru> In-Reply-To: <xzpy97y7wbh.fsf@flood.ping.uio.no> References: <20021106141959.GA53561@nagual.pp.ru> <xzplm3z81ee.fsf@flood.ping.uio.no> <20021112125547.GA28874@nagual.pp.ru> <xzp4ran7xhk.fsf@flood.ping.uio.no> <20021112131227.GB28874@nagual.pp.ru> <xzpy97y7wbh.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 12, 2002 at 14:26:58 +0100, Dag-Erling Smorgrav wrote: > pam.d is not relevant, sshd_config is. I sent it to you privately. > des@des ~% ssh localhost > Last login: Tue Nov 12 14:25:39 2002 from :0.0 It is "Last login" with right time comes from sshd itself (second in my case). It means that print_pam_messages() remains silent in your case but be verbose form my case for unknown reason. Is there some way to debug print_pam_messages() deeply I can turn on? BTW, double-testes options.print_lastlog looks suspiciuos. For what print_pam_messages() used here? It is unclear to me. #ifdef USE_PAM if (options.print_lastlog && !is_pam_password_change_required()) print_pam_messages(); #endif /* USE_PAM */ ... #ifndef NO_SSH_LASTLOG if (options.print_lastlog && s->last_login_time != 0) { ... printf("Last login: %s from %s\r\n", time_string, -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021112133631.GA29498>