logrotate lastlog

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

 



The /var/log/lastlog file on my RH 8 install seems to be growing without
limit. I have searched the logrotate/syslog definitions and do not find
anything for rotating lastlog.

Should RH8 have a lastlog rotate somewhere?

E.g., logrotate.conf has

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

Should it not be

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

I would be tempted to add compress as well.

Thanks.




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux