Date: Mon, 12 Jul 2004 22:37:10 +0200 From: Olivier Tharan <olive@oban.frmug.org> To: freebsd-stable@freebsd.org Subject: Re: Rebuilding wtmp Message-ID: <20040712203710.GZ3540@weirdos.oban.frmug.org> In-Reply-To: <000501c4683e$88da1070$150ba8c0@kyle> References: <000501c4683e$88da1070$150ba8c0@kyle>
next in thread | previous in thread | raw e-mail | index | archive | help
* Kyle Mott <kyle@xraided.net> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040712203710.GZ3540>