Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 20:31:20 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: PAM & OpenSSH: two incorrect "last login"
Message-ID:  <20020420163119.GA7056@nagual.pp.ru>
In-Reply-To: <20020420162000.GA6972@nagual.pp.ru>
References:  <20020420011633.GA66468@nagual.pp.ru> <xzp8z7iqrjp.fsf@flood.ping.uio.no> <20020420162000.GA6972@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 20, 2002 at 20:20:01 +0400, Andrey A. Chernov wrote:
> 
> Newlines are gone, but see second line from back 1991 (garbadge on the 
> stack of 'last_login_time' variable).

BTW, please notice that printing this line is very conditionalized in 
OpenSSH:

options.print_lastlog
command == NULL
!options.use_login
!check_quietlogin(s, command)

are checked. But in your variant it seems that only

!check_quietlogin(s, command)

checked (or, maybe it printed even unconditionally?)
I am not sure here, it is internal PAM details.

-- 
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?20020420163119.GA7056>