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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to