[maemo-users] [maemo-users] will wtmp grow forever?

From: Jay Holler jayholler at gmail.com
Date: Tue Apr 4 17:19:39 EEST 2006
Well, how do you go about emptying the file?

Jay


On 4/4/06, Frank <f.w.kooistra at ocelot.nl> wrote:
> 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
> maemo-users at maemo.org
> https://maemo.org/mailman/listinfo/maemo-users
>

More information about the maemo-users mailing list