Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 11:32:05 -0700
From:      "Kyle Mott" <kyle@xraided.net>
To:        <freebsd-stable@freebsd.org>
Subject:   Rebuilding wtmp
Message-ID:  <000501c4683e$88da1070$150ba8c0@kyle>

next in thread | raw e-mail | index | archive | help
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
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c4683e$88da1070$150ba8c0>