Date: Tue, 23 Apr 2002 00:31:59 +0400 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Dag-Erling Smorgrav <des@ofug.org> Cc: Bill Fenner <fenner@research.att.com>, current@FreeBSD.ORG Subject: Re: PAM & OpenSSH: two incorrect "last login" Message-ID: <20020422203156.GA30906@nagual.pp.ru> In-Reply-To: <xzpelh82ay1.fsf@flood.ping.uio.no> References: <20020420011633.GA66468@nagual.pp.ru> <xzp8z7iqrjp.fsf@flood.ping.uio.no> <200204212015.NAA06317@windsor.research.att.com> <xzp1yd846tp.fsf@flood.ping.uio.no> <200204220822.BAA11918@windsor.research.att.com> <xzpelh82ay1.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 22, 2002 at 14:07:50 +0200, Dag-Erling Smorgrav wrote: > Bill Fenner <fenner@research.att.com> writes: > > You could either pretend that yflag was not set (what ache was > > suggesting) or set yflag if the year of the last login was not > > this year (possibly more useful). > > ...or always print the year. Does anybody have any patches? :) IMHO always printing year in pam_lastlog (like unpatched sshd does) will not harm. L10n here currently is not useful for both plain login and sshd because environment from where LANG may come not yet activated at this moment. The code must be moved after environment activating first, but because it is the very first print, other prints like motd must be moved too. -- 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?20020422203156.GA30906>