检查一下主机安全情况

1. who 查看当前登录用户
2. last查看历史登录用户
3. history 查看历史执行命令
4. cat /var/log/secure | grep -i "accepted password"  查看成功登录记录信息
5. cat /var/log/secure | grep -i "failed password" | wc -l  查看被爆破的次数 

原文地址:https://www.cnblogs.com/hark0623/p/11962547.html