Don't get me started on utmp/wtmp. The wtmp file is a cumulative version of 
utmp. /sbin/init, login and friends, and a few other programs write into 
both utmp and wtmp. There are libc routines which are used for utmp. Utmp 
is created from scratch every time the system is transitioned from single 
to multi-user mode. I suggest that you simply delete wtmp. The way it is 
supposed to work is that is wtmp does not exist, the utilities will not 
append to it. So, if you want a fresh wtmp, just create it.
cat > /var/log/wtmp
^D

Jeff Macdonald wrote:
> Anybody have any suggestions on how to fix this system file that doesn't 
> involve rebooting the system? Mine is showing me junk...
-- 
--
Gerald Feldman <[EMAIL PROTECTED]>
Boston Computer Solutions and Consulting
ICQ#156300




**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to