Re: Last log.
Michael Slater (slaterm@excel.tnet.com.au)
Fri, 10 Jan 1997 11:09:46 +0800 (WST)
>
> Trim wtmp
> 45 02 * * * root find /var/log/wtmp -size +32k -exec cp /dev/null {} \;
>
> Hmmm... I found the above in /etc/crontab in my RH 3.0.3 and 4.0 systems.
>
> If that is not in your crontab, could it be that a script is run that does
> it?
>
It's driving me nuts!! Their is nothing in my crontab that even touches
wtmp or utmp. I use mgetty for my dial up lines, is it perhaps possible
the Mgetty does it ? It does make a utmp entry every time someone logs in.
regards,
Michael
slaterm@tnet.com.au