Rebuilding wtmp
Kyle Mott
kyle at xraided.net
Mon Jul 12 11:32:08 PDT 2004
Hi, I have several systems that report 'w' and 'who' wrong/corrupted:
root at neo:~# w
USER TTY FROM LOGIN@ IDLE WHAT
kyle p0 - 31Dec69 - w
Obviously, Dec 31st 1969 is not right:
root at 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
More information about the freebsd-stable
mailing list