Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 1997 11:40:47 +0100
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@freefall.FreeBSD.org
Cc:        Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
Subject:   Re: cvt-wtmp problem
Message-ID:  <19971126114047.15993@uriah.heep.sax.de>
In-Reply-To: <199711241547.QAA00464@gil.physik.rwth-aachen.de>; from Christoph Kukulies on Mon, Nov 24, 1997 at 04:47:18PM %2B0100
References:  <199711241547.QAA00464@gil.physik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
As Christoph Kukulies wrote:

> # cc -o cvt-wtmp /usr/src/tools/3.0-upgrade/cvt-wtmp.c
> # ./cvt-wtmp /var/log/wtmp
> File "/var/log/wtmp": 0 old and 94 new records found.
> # 
> # last | head
> kuku             ttyp0    137.226.123.45   Mon Nov 24 16:06   still logged in
> kuku             ttyp0    137.226.123.45   Mon Nov 24 15:31   still logged in
> kuku             ttyp0    137.226.123.45   Mon Nov 24 14:35 - 15:10  (00:35)
> kuku             ftp      137.226.30.2     Mon Nov 24 13:56 - 13:56  (00:00)
> ttyp1            
>                          137.226.123.45   Mon Nov 24 13:49   still logged in

> The 5th line above is the strange one as you can see.
> Any ideas?

cvt-wtmp does extensive guesswork, but there's no guarantee that it
will catch all cases.  You could try to fixup the wtmp file in
question with something like bpatch, in order to help the guesswork
out.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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