From owner-freebsd-current Thu Dec 12 23:17:15 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA26667 for current-outgoing; Thu, 12 Dec 1996 23:17:15 -0800 (PST) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id XAA26660 for ; Thu, 12 Dec 1996 23:17:12 -0800 (PST) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id IAA13366; Fri, 13 Dec 1996 08:18:40 +0100 (MET) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.8.3/8.6.9) id IAA04654; Fri, 13 Dec 1996 08:31:41 +0100 (MET) From: Christoph Kukulies Message-Id: <199612130731.IAA04654@gilberto.physik.rwth-aachen.de> Subject: Re: wtmp In-Reply-To: <199612130659.IAA04156@grackle.grondar.za> from Mark Murray at "Dec 13, 96 08:59:21 am" To: mark@grondar.za (Mark Murray) Date: Fri, 13 Dec 1996 08:31:41 +0100 (MET) Cc: kuku@gilberto.physik.rwth-aachen.de, freebsd-current@freefall.freebsd.org Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Christoph Kukulies wrote: > > > > I'm aware that some commands (last, w) were broken due to the wtmp > > changes recently but what is the way to handle this correctly on > > an updated machine? > > > > I deleted /var/log/wtmp and did a touch /var/log/wtmp. I still get > > > > # w > > 7:09AM up 48 days, 12:07, 3 users, load averages: 0.00, 0.00, 0.00 > ^^^^^^^ > Build a new kernel and reboot. Ack. It was too early this morning that I sat at the computer. > > > This is on a yesterday's -current machine. > > Not the kernel! > > M > -- > Mark Murray PGP key fingerprint = 80 36 6E 40 83 D6 8A 36 > This .sig is umop ap!sdn. BC 06 EA 0E 7A F2 CE CE > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de