Bug 1152 - Bogus data in wtmp
Summary: Bogus data in wtmp
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 4.3p1
Hardware: ix86 FreeBSD
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-08 20:10 AEDT by Goetz R. Schultz
Modified: 2006-10-07 11:44 AEST (History)
0 users

See Also:


Attachments
Configure patch for egrep (501 bytes, patch)
2006-02-08 21:54 AEDT, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.