我logwatch
在我的服务器上使用,现在我在报告电子邮件中收到数千行:
--------------------- pam_unix Begin ------------------------
proftpd:
Unknown Entries:
check pass; user unknown: 339 Time(s)
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=::ffff:62.115.255.98 : 27 Time(s)
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=::ffff:188.102.152.23 : 7 Time(s)
...
我的日志级别已经很低
答案1
编辑/etc/logwatch/conf/logwatch.conf
并添加
Service = "-proftpd-messages"
Service = "-pam_unix"