编译安装chkrootkit出现的问题

tar xf chkrootkit.tar.gz

cd chkrootkit-*

make sense的时候出现make: *** [strings-static] Error 1,解决办法:yum install glibc-static -y 即可

cd ../

cp -r chkrootkit-* /usr/local/chkrootkit

rm -rf chkrootkit-*

用法:

/usr/local/chkrootkit/chkrootkit 

[root@svn tools]# /usr/local/chkrootkit/chkrootkit -h
Usage: /usr/local/chkrootkit/chkrootkit [options] [test ...]
Options:
-h show this help and exit  #显示帮助信息
-V show version information and exit #显示版本信息
-l show available tests and exit #显示测试内容
-d debug #debug模式
-q quiet mode #安静模式,只显示有问题的内容
-x expert mode #高级模式,显示所有检测结果
-r dir use dir as the root directory #设置指定的目录为根目录
-p dir1:dir2:dirN path for the external commands used by chkrootkit #指定chkrootkit检测时使用系统命令的目录
-n skip NFS mounted dirs #跳过NFS连接的目录

原文地址:https://www.cnblogs.com/uglyliu/p/6062902.html