rkhunter:预链接哈希函数警告

我们正在使用rkhunter来定期扫描我们的服务器。 服务器操作系统是CentOS 6/7。 但是自从上一次更新(到当前版本1.4.4)之后,我们得到以下警告消息:

[10:12:09] Performing file properties checks [10:12:09] Warning: Checking for prerequisites [ Warning ] [10:12:09] All file hash checks will be skipped because: [10:12:09] This system uses prelinking, but the hash function command does not look like SHA1 or MD5. 

但是我们把所有的东西都连接起来:

 /> prelink -a --md5 

任何人都知道我怎样才能防止信息或什么可能是错的?

删除/etc/prelink.cache文件。 使用/etc/cron.daily/prelink运行prelink重build。 然后运行rkhunter --propupd

然后做一个rkhunter -c显示干净。

来自: https : //sourceforge.net/p/rkhunter/mailman/message/35131677/

更新:CentOS已经添加了一个升级,从rkhunter.conf文件的行HASH_CMD = sha1sum删除注释标记。