[maemo-users] will wtmp grow forever?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux