This bug still present too. Please handle it somehow, it is clearly comes from PAM.
On Sat, Apr 20, 2002 at 05:16:35 +0400, Andrey A. Chernov wrote: > I got this TWO last login lines with recent -current SSH+PAM: > > -------------------------- > Last login: Sat Apr 20 04:50:45 > from hermes.dialup.ru > > Last login: Sat Apr 20 04:56:06 2002 from hermes.dialup.ru > Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 > ... > -------------------------- > > The second one is semi-correct, excepting year not needed here. It is > original SSH bug easy to fix, just print first 19 characters and not whole > ctime() line in session.c > > But what about first one? Apparently it comes from pam_lastlog.so, but why > there is \n in the middle? Looking at pam_lastlog.c sources I not find \n > there. It seems it is inserted afterwards somehow. Notice the second \n > after first lastlog line, it must not be there too. Please fix those > two \n's. > > BTW, ONE lastlog line is enough. Please either remove pam_lastlog.so or > comment "#ifndef USE_PAM" SSH one. > > -- > Andrey A. Chernov > http://ache.pp.ru/ > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message