Loading...
目录[TOC]最新更新:不要搞这个了,直接关闭密码登录,完全用密钥登录就完事儿了。脚本:#!/bin/bash if [ -f /etc/centos-release ]; then LOG_FILE="/var/log/secure*" elif [ -f /etc/lsb-release ]; then LOG_FILE="/var/log/auth.log*" else echo "不支持的操作系统,程序退出...