Bug 1152

Summary: Bogus data in wtmp
Product: Portable OpenSSH Reporter: Goetz R. Schultz <bugzilla>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 4.3p1   
Hardware: ix86   
OS: FreeBSD   
Attachments:
Description Flags
Configure patch for egrep none

Description Goetz R. Schultz 2006-02-08 20:10:10 AEDT
Sessions are not logged in a "normal" manner. The last-command returns the following with OpenSSH 4.3
goetz            ttyp0    10.10.180.2      Thu Feb  2 08:06 - 08:23  (00:17)

after upgrading to 4.3 from 4.2:

goetz            ttyp0                     Thu Jan  1 01:00   still logged in
goetz            ttyp0                     Thu Jan  1 01:00 - 21:38 (13186+21:38)


The configure-params are identical for 4.2 and 4.3.
It happens on FBSD 5.2 and 6.0.

The --version output:

OpenSSH_4.3p1, OpenSSL 0.9.8a 11 Oct 2005
Comment 1 Darren Tucker 2006-02-08 21:54:21 AEDT
Created attachment 1063 [details]
Configure patch for egrep

This is almost certainly cause by a known problem in configure.  It is fixed in the snapshots (ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/snapshot/).

You can also apply the attached patch (you will need to run "autoconf" to rebuild configure).
Comment 2 Goetz R. Schultz 2006-02-08 22:49:04 AEDT
Hi,

thanks. The patch didn't work, but the latest snapshot did the job.
You can move the case to "solved".

Cheers,


Goetz
Comment 3 Darren Tucker 2006-02-08 22:55:37 AEDT
Cool, thanks.
Comment 4 Darren Tucker 2006-10-07 11:44:24 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.