系统:Linux Mint 19 Cinnamon 64位,基于Ubuntu 18.04。
RKHunter:打包版本1.4.6-2。
不幸的是,当我尝试更新其数据库时,出现错误:
$ sudo rkhunter --update
[ Rootkit Hunter version 1.4.6 ]
Checking rkhunter data files...
Checking file mirrors.dat [ Skipped ]
Checking file programs_bad.dat [ Update failed ]
Checking file backdoorports.dat [ Update failed ]
Checking file suspscan.dat [ Update failed ]
Checking file i18n versions [ Update failed ]
Please check the log file (/var/log/rkhunter.log)
我检查了日志,没有真正的结果。
答案1
我设法通过编辑以下文件来解决此问题:
/etc/rkhunter.conf
并更改一些值如下:
# If this option is set to '1', it specifies that when the '--update' option is used, then the mirrors file is to be checked for updates as well.
UPDATE_MIRRORS=1
# 0 - use any mirror
MIRRORS_MODE=0