Rkhunter
Mint 19 - rkhunter 1.4.6 不會更新
系統: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)
我檢查了日誌,沒有真正的結果。
我設法通過編輯以下文件來解決這個問題:
/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