From owner-freebsd-questions@FreeBSD.ORG Mon Jul 12 20:45:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5199416A4CE for ; Mon, 12 Jul 2004 20:45:34 +0000 (GMT) Received: from klmhosting.net (klmhosting.net [66.88.26.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19FFF43D49 for ; Mon, 12 Jul 2004 20:45:34 +0000 (GMT) (envelope-from kyle@klmhosting.net) Received: from [168.103.174.29] (account kyle HELO kyle) by klmhosting.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1907693 for freebsd-questions@freebsd.org; Mon, 12 Jul 2004 13:45:32 -0700 From: "Kyle Mott" To: Date: Mon, 12 Jul 2004 13:45:28 -0700 Message-ID: <000901c46851$2b6beef0$150ba8c0@kyle> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Rebuilding wtmp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 20:45:34 -0000 Hi, I have several systems that report 'w' and 'who' wrong/corrupted: root@neo:~# w USER TTY FROM LOGIN@ IDLE WHAT kyle p0 - 31Dec69 - w Obviously, Dec 31st 1969 is not right: root@neo:~# date Mon Jul 12 11:27:15 PDT 2004 I read a few manpages and did some google'ing, and couldn't find much of anything about rebuilding wtmp. I tried just moving wtmp to wtmp.old and then doing 'touch wtmp', then logging out and back in, but it still reads 31Dec69. Is there some way to fix this? Thanks all. (Note: Please CC me in any replies, I'm not a member of -questions). -Kyle Mott