标签:
lynis 安全漏洞检测工具 https://cisofy.com/download/lynis/ https://cisofy.com/files/lynis-2.2.0.tar.gz
命令 :sudo ./lynis --check-all -Q
sudo grep Warning /var/log/lynis.log
sudo grep Suggestion /var/log/lynis.log
sudo vi /etc/cron.daily/scan.sh
#!/bin/shAUDITOR="automated"DATE=$(date +%Y%m%d)HOST=$(hostname)LOG_DIR="/var/log/lynis"REPORT="$LOG_DIR/report-${HOST}.${DATE}"DATA="$LOG_DIR/report-data-${HOST}.${DATE}.txt"cd /opt/lynis./lynis -c --auditor "${AUDITOR}" --cronjob > ${REPORT}mv /var/log/lynis-report.dat ${DATA}
sudo chmod 755 /etc/cron.daily/scan.sh
linux服务器集群防火墙搭建 http://www.bubuko.com/infodetail-536557.html
Linux下安全扫描工具Nmap用法详解 https://nmap.org/download.html
标签:
原文地址:http://www.cnblogs.com/fangyuan303687320/p/5430480.html