From owner-freebsd-stable@FreeBSD.ORG Mon Jul 12 20:40:09 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 4DA5716A4CE for ; Mon, 12 Jul 2004 20:40:09 +0000 (GMT) Received: from lists.frmug.org (frmug-gw.frmug.org [193.56.58.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 914B043D1D for ; Mon, 12 Jul 2004 20:40:07 +0000 (GMT) (envelope-from olive@oban.frmug.org) Received: from localhost (localhost [127.0.0.1]) by lists.frmug.org (Postfix/TLS) with ESMTP id 5BE0F20F59 for ; Mon, 12 Jul 2004 22:40:05 +0200 (CEST) Received: from lists.frmug.org ([127.0.0.1]) by localhost (frmug.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 62426-08 for ; Mon, 12 Jul 2004 22:40:04 +0200 (CEST) Received: by lists.frmug.org (Postfix/TLS, from userid 66) id C374420F66; Mon, 12 Jul 2004 22:40:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by weirdos.oban.frmug.org (Postfix) with ESMTP id B6C278C46 for ; Mon, 12 Jul 2004 22:37:11 +0200 (CEST) Received: by weirdos.oban.frmug.org (Postfix, from userid 1002) id 585808C28; Mon, 12 Jul 2004 22:37:10 +0200 (CEST) Date: Mon, 12 Jul 2004 22:37:10 +0200 From: Olivier Tharan To: freebsd-stable@freebsd.org Message-ID: <20040712203710.GZ3540@weirdos.oban.frmug.org> Mail-Followup-To: freebsd-stable@freebsd.org References: <000501c4683e$88da1070$150ba8c0@kyle> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <000501c4683e$88da1070$150ba8c0@kyle> X-Attribution: Olive X-Virus-Scanned: by amavisd-new at frmug.org Subject: Re: 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 20:40:09 -0000 * Kyle Mott (20040712 11:32): > 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. [ This should belong to -questions but anyway: ] The file is used by login(1), so you should restart login to use the file (the old file is still kept open). You could do this by booting in single user mode, touching the wtmp file, and let the boot go on. -- olive