From owner-freebsd-current Tue Nov 12 5:12:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC8E937B401 for ; Tue, 12 Nov 2002 05:12:30 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id F106543E6E for ; Tue, 12 Nov 2002 05:12:29 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.6/8.12.6) with ESMTP id gACDCSmj029324; Tue, 12 Nov 2002 16:12:28 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.6/8.12.6/Submit) id gACDCRmB029323; Tue, 12 Nov 2002 16:12:27 +0300 (MSK) (envelope-from ache) Date: Tue, 12 Nov 2002 16:12:27 +0300 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: current@freebsd.org Subject: Re: sshd: double "Last login:" bugfix spammed again Message-ID: <20021112131227.GB28874@nagual.pp.ru> References: <20021106141959.GA53561@nagual.pp.ru> <20021112125547.GA28874@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 12, 2002 at 14:01:43 +0100, Dag-Erling Smorgrav wrote: > "Andrey A. Chernov" writes: > > On Tue, Nov 12, 2002 at 12:37:13 +0100, Dag-Erling Smorgrav wrote: > > > "Andrey A. Chernov" 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