Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 09:40:03 -0800 (PST)
From:      Gil Kloepfer <gil@arlut.utexas.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/45156: sshd won't display last login information
Message-ID:  <200301241740.h0OHe3it016786@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/45156; it has been noted by GNATS.

From: Gil Kloepfer <gil@arlut.utexas.edu>
To: freebsd-gnats-submit@FreeBSD.org
Cc: annihilator_sc@hotmail.com
Subject: Re: bin/45156: sshd won't display last login information
Date: Fri, 24 Jan 2003 11:31:00 -0600

 I've verified this bug as well.
 
 The problem is in the OpenSSH source, and that if USE_PAM is defined,
 which it seems to be in FreeBSD, the #ifndef on line 762 of session.c 
 removes the code that displays the last login time.  I guess they
 assume that the PAM module will do that.
 
 If you change that line (in /usr/src/crypto/openssh/session.c) to
 
 #if !defined(USE_PAM) || defined(__FreeBSD__)
 
 then go to /usr/src/secure/usr.sbin/sshd
 and do a make sshd and install the new sshd into /usr/sbin and restart
 it will work again.  However, if it hasn't been reported already,
 it needs to be ported back into the OpenSSH source code.  I don't
 think my fix is likely the correct long-term one.
 
 -- 
 Gil Kloepfer - Network Support
 Applied Research Laboratories : The University of Texas at Austin
 (512) 835-3771 / gil@arlut.utexas.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301241740.h0OHe3it016786>