Uwe Thiem wrote:

On 03 August 2005 12:11, Etaoin Shrdlu wrote:
On Wednesday 03 August 2005 12:54, Uwe Thiem wrote:
Hi folks,

from /etc/logrotate.conf:

-----
# no packages own lastlog or wtmp -- we'll rotate them here
/var/log/wtmp {
   monthly
   create 0664 root utmp
   rotate 1
}
-----

It states it rotates lastlog (/var/log/lastlog) but it doesn't and my
lastlog grows forever. Doesn't seem right. Anybody else seeing the
same or have I messed up?
Probably missing something (I don't use logrotate), but seems to me that
the above fragment only deals with /var/log/wtmp. To
have /var/log/lastlog rotated, add another section for it.

Are you sure you aren't using it? Have you looked into /etc/cron.daily?


Why is lastlog growing forever??? Doesn't that only track the most recent logins by userid? It seems to me that file should only grow if you add users.

And Etaoin is correct, that block only rotates /var/log/wtmp. The comment is misleading/wrong.

-Richard

--
[email protected] mailing list

Reply via email to