本文共 377 字,大约阅读时间需要 1 分钟。
1、lynis工具安装
mkdir /mytools
cd /mytools/wget tar -zxf lynis-2.5.0.tar.gz cd lynis./lynis -h (查看帮助选项)./lynis audit system (系统整体检测)./lynis audit system remote 192.168.1.208 (远程扫描208服务器,需要根据提示操作)2、日志查看
more /var/log/lynis-report.dat查看其中的告警(WARNING)以及建议(SUGGESTION)
grep Warning /var/log/lynis.loggrep Suggestion /var/log/lynis.log转载于:https://blog.51cto.com/13810275/2235399