From owner-freebsd-questions Tue Apr 13 16:56:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from abused.com (abused.com [204.216.142.63]) by hub.freebsd.org (Postfix) with ESMTP id DB4FD14CC7 for ; Tue, 13 Apr 1999 16:56:40 -0700 (PDT) (envelope-from gvbmail@tns.net) Received: from gvb (gvb.tns.net [204.216.245.137]) by abused.com (8.9.3/I feel abused.) with SMTP id QAA11085; Tue, 13 Apr 1999 16:54:17 -0700 (PDT) Message-Id: <4.1.19990413165318.00a18610@abused.com> X-Sender: gvbmail@mail.tns.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Tue, 13 Apr 1999 16:54:16 -0700 To: Lowell Gilbert , freebsd-questions@FreeBSD.ORG From: GVB Subject: Re: lastlog/wtmp reporting incorrect info... In-Reply-To: References: <4.1.19990413101110.00b59e30@abused.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I did; cp /dev/null /var/log/wtmp cp /dev/null /var/log/lastlog rebooted, and it still hasnt solved anything.. it looks like 200.accounting just does a; touch /var/log/wtmp. It is still not showing me that anyong is logged in when I run w, who, or finger. Any other ideas? GVB At 01:50 PM 4/13/99 -0400, Lowell Gilbert wrote: >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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message