Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 1996 00:12:24 +0300 (MSK)
From:      =?KOI8-R?Q?Andrey_Chernov=2C_=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= <ache@nagual.ru>
To:        Vincent Poy <vince@venus.GAIANET.NET>
Cc:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>, FreeBSD-current users <freebsd-current@freebsd.org>
Subject:   Re: last in -current
Message-ID:  <Pine.BSF.3.95.961208001011.300A-100000@nagual.ru>
In-Reply-To: <Pine.BSF.3.95.961207123601.14714A-100000@venus.GAIANET.NET>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 7 Dec 1996, Vincent Poy wrote:

> On Sat, 7 Dec 1996, J Wunsch wrote:
> 
> > As Veggy Vinny wrote:
> > 
> > > 	Also, another problem with -current is last doesn't work
> > > correctly...
> > > 
> > > 34.98.181        erin207.  $^*t^ttyp2    Wed Dec 31 16:00   still logged
> > > in
> > 
> > Have you rebuilt last(1) after the recent utmp.h changes?
> 
> 	Yes I did and the problem was top, screen also had to be rebuilt
> and the /var/tmp/wtmp file had to be deleted for everything to work
> correctly.  adduser still handles up to 8 characters max for usernames. 
> So I would agree with you about the last should be backwards compatible.

You can't determine new or old format you parse. There is no
version field in utmp record. So, you can't do anything in the 'last'.

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961208001011.300A-100000>