Hi,

One thing I noticed that rkhunter should come packaged with is a rkhunter
logrotate script.

I build the spec, I change to the:

APPEND_LOG=1

setting, I then need to rotate the log with:

# cat /etc/logrotate.d/rkhunter.log
/var/log/rkhunter.log {
    weekly
    rotate 4
    missingok
    notifempty
    compress
    create 0600 root root
}

This rkhunter.log file should really be present in the RPM that's built from
spec, as it'll prune and rotate the log files produced in /var/log

If I left the "APPEND_LOG=0" setting, what happens to the log? does it just
keep being overwritten?

Regards,

Michael.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to