On Monday 03 April 2006 18:28, Alessandro Pasotti wrote:
> Nokia770-51:~# ll /var/log/wtmp
> -rw-r--r--    1 root     root     15105024 Apr  3 18:20 /var/log/wtmp
>
> it's still 15Megs after one week of (mis)use.
>
> Did I did something wrong?
>
> Do you think it is safe to echo ">/var/log/wtmp ?

It contains the login records. 
when you ask information about current login's, boots etc.  
the data is collected from utmp / wtmp 

I think it is safe to zero the contents: you looose the information about the 
login history : best practice is to make a copy and than empty it. 

as a test i emptied my system's wtmp  :-) 
On a desktop system  

-- 
groetjes 

Frank
_______________________________________________
maemo-users mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-users

Reply via email to