From owner-freebsd-questions Tue Apr 13 10:53:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from europe.std.com (europe.std.com [199.172.62.20]) by hub.freebsd.org (Postfix) with ESMTP id A1A96157B5 for ; Tue, 13 Apr 1999 10:53:17 -0700 (PDT) (envelope-from lowell@world.std.com) Received: from world.std.com by europe.std.com (STD1.2/BZS-8-1.0) id NAA03548; Tue, 13 Apr 1999 13:50:57 -0400 (EDT) Received: by world.std.com (TheWorld/Spike-2.0) id AA10273; Tue, 13 Apr 1999 13:50:57 -0400 To: freebsd-questions@freebsd.org, gvbmail@tns.net Subject: Re: lastlog/wtmp reporting incorrect info... References: <4.1.19990413101110.00b59e30@abused.com> From: Lowell Gilbert Date: 13 Apr 1999 13:50:56 -0400 In-Reply-To: GVB's message of Tue, 13 Apr 1999 10:12:18 -0700 Message-Id: Lines: 16 X-Mailer: Gnus v5.5/Emacs 20.2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG GVB writes: > I just upgraded a 2.2.8 machine to 3.1 and I am having problems with what > looks like wtmp and lastlog. finger, w, and who are all reporting > incorrect information about who is logged in, it is not updating correctly. > Is this a know problem during the upgrade process? What can I do to fix it. The wtmp file changed format. The easy solution is to move it out of the way, and create a new one (see the monthly script -- specifically, /etc/periodic/monthly/200.accounting for how it's done normally). This didn't happen automatically for me, either (a couple of months back, now); should it be in the errata? Be well. Lowell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message