From owner-freebsd-stable@FreeBSD.ORG Mon Jul 12 18:32:08 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7283E16A4CE for ; Mon, 12 Jul 2004 18:32:08 +0000 (GMT) Received: from xraided.net (xraided.net [66.88.26.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 367D743D1F for ; Mon, 12 Jul 2004 18:32:08 +0000 (GMT) (envelope-from kyle@xraided.net) Received: from [168.103.174.29] (account kyle HELO kyle) by xraided.net (CommuniGate Pro SMTP 4.1.8) with ESMTP id 1812195 for freebsd-stable@freebsd.org; Mon, 12 Jul 2004 11:32:07 -0700 From: "Kyle Mott" To: Date: Mon, 12 Jul 2004 11:32:05 -0700 Message-ID: <000501c4683e$88da1070$150ba8c0@kyle> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 18:32:08 -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. -Kyle Mott