Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Dag-Erling Smorgrav
Andrey A. Chernov [EMAIL PROTECTED] writes: Old bugfix for double Last login: was spammed in 3rd time, causing following printout: I can't reproduce this here. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
On Tue, Nov 12, 2002 at 12:37:13 +0100, Dag-Erling Smorgrav wrote: Andrey A. Chernov [EMAIL PROTECTED] writes: Old bugfix for double Last login: was spammed in 3rd time, causing following printout: I can't reproduce this here. Look at session.c, one Last login comes from

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Dag-Erling Smorgrav
Andrey A. Chernov [EMAIL PROTECTED] writes: On Tue, Nov 12, 2002 at 12:37:13 +0100, Dag-Erling Smorgrav wrote: Andrey A. Chernov [EMAIL PROTECTED] writes: Old bugfix for double Last login: was spammed in 3rd time, causing following printout: I can't reproduce this here. Look at

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Dag-Erling Smorgrav
Andrey A. Chernov [EMAIL PROTECTED] writes: I have standard /etc/pam.d from latest -current. pam.d is not relevant, sshd_config is. Before I'll send you my /etc/ssh config, I think there is more simple way to find it out. I have a question: which one prompt _you_ have? des@des ~% ssh

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
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

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Dag-Erling Smorgrav
Andrey A. Chernov [EMAIL PROTECTED] writes: BTW, double-testes options.print_lastlog looks suspiciuos. For what print_pam_messages() used here? It is unclear to me. I think the idea is that we should define NO_SSH_LASTLOG in config.h. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
On Tue, Nov 12, 2002 at 14:47:51 +0100, Dag-Erling Smorgrav wrote: Andrey A. Chernov [EMAIL PROTECTED] writes: BTW, double-testes options.print_lastlog looks suspiciuos. For what print_pam_messages() used here? It is unclear to me. I think the idea is that we should define NO_SSH_LASTLOG

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Dag-Erling Smorgrav
Andrey A. Chernov [EMAIL PROTECTED] writes: It physically eliminates Last loging comes from sshd, but not fix wrong _time_ printed by print_pam_messages() in my case (first prompt), as I already write, there is JUST time, not LAST time. That is a separate bug, probably in pam_lastlog. I'll

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav [EMAIL PROTECTED] writes: I think the idea is that we should define NO_SSH_LASTLOG in config.h. Actually, I think the problem is that DISABLE_LASTLOG should imply NO_SSH_LASTLOG but doesn't. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
On Tue, Nov 12, 2002 at 15:11:04 +0100, Dag-Erling Smorgrav wrote: Dag-Erling Smorgrav [EMAIL PROTECTED] writes: I think the idea is that we should define NO_SSH_LASTLOG in config.h. Actually, I think the problem is that DISABLE_LASTLOG should imply NO_SSH_LASTLOG but doesn't. There was

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Dag-Erling Smorgrav
Andrey A. Chernov [EMAIL PROTECTED] writes: There was USE_LASTLOG on the way, which is currently on and checked before DISABLE_LASTLOG, so DISABLE_LASTLOG does nothing. See loginrec.c No, USE_LASTLOG is not defined if DISABLE_LASTLOG is defined. See defines.h. DES -- Dag-Erling Smorgrav -

Re: sshd: double Last login: bugfix spammed again

2002-11-12 Thread Andrey A. Chernov
On Tue, Nov 12, 2002 at 15:28:41 +0100, Dag-Erling Smorgrav wrote: Andrey A. Chernov [EMAIL PROTECTED] writes: There was USE_LASTLOG on the way, which is currently on and checked before DISABLE_LASTLOG, so DISABLE_LASTLOG does nothing. See loginrec.c No, USE_LASTLOG is not defined if

sshd: double Last login: bugfix spammed again

2002-11-06 Thread Andrey A. Chernov
Old bugfix for double Last login: was spammed in 3rd time, causing following printout: zzz@xxx's password: Last login: Wed Nov 6 17:12:40 from Last login: Wed Nov 6 17:10:08 2002 from Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 ... -- Andrey A. Chernov