Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 16:12:27 +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:  <20021112131227.GB28874@nagual.pp.ru>
In-Reply-To: <xzp4ran7xhk.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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 12, 2002 at 14:01:43 +0100, Dag-Erling Smorgrav wrote:
> "Andrey A. Chernov" <ache@nagual.pp.ru> writes:
> > On Tue, Nov 12, 2002 at 12:37:13 +0100, Dag-Erling Smorgrav wrote:
> > > "Andrey A. Chernov" <ache@nagual.pp.ru> 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 [...]
> 
> I still can't reproduce it.  What configuration changes have you made?

I have standard /etc/pam.d from latest -current.
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? 

If there is a year 2002 present, it comes from ssh. It means that with 
standard /etc/pam.d pam_print_messages() still prints something in 
my case for unknown reason.

If there is no 2002, it comes from pam_print_messages(). It means you have 
no print lastlogin option in your sshd config. Check for 
PrintLastLog yes

-- 
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?20021112131227.GB28874>