Please carbon-copy me on replies. For some reason, my wtmp is never updated when I login via openssh. Some information about my system: Linux kernel 2.6.9 running glibc-2.3.4. And the opensshd is openssh-3.9p1 (pkgsrc package openssh-3.9.1nb6). $ ls -l /var/log/lastlog /var/log/wtmp /var/run/utmp -rw-rw-r-- 1 root utmp 29492 May 25 13:12 /var/log/lastlog -rw-rw-r-- 1 root utmp 0 May 25 10:41 /var/log/wtmp -rw-rw-r-- 1 root utmp 4224 May 25 11:12 /var/run/utmp lastlog shows me an entry from my last ssh login. And last and who don't show any of my ssh logins. The following is my ./configure log (scroll down a little) and the generated config.h: http://pilchuck.reedmedia.net/jeremy/tmp-o8ttye68/configure.log http://pilchuck.reedmedia.net/jeremy/tmp-o8ttye68/config.h I am not sure if this is openssh related yet. Any ideas? Please CC to me on replies. Thanks, Jeremy C. Reed technical support & remote administration http://www.pugetsoundtechnology.com/
On Wed, 25 May 2005, Jeremy C. Reed wrote:> For some reason, my wtmp is never updated when I login via > openssh....> I am not sure if this is openssh related yet.Sorry for the noise. This was caused by a typo in an old patch that was included in the build system for openssh I am using. It was a patch for loginrec.c that changed checks for defined USE_LOGIN to also check for HAVE_UTMP_H to be defined too. (But one had a typo HAVE_UMTP_H.) Jeremy C. Reed BSD News, BSD tutorials, BSD links http://www.bsdnewsletter.com/