私が/etc/logrotate.d/rkhunterで使用している設定です。 logrotateの設定、rsyslogの設定に依存しています。
1 2 3 4 5
- !
# 1か月分保存 /var/log/rkhunter/log { create 600 root root }