2021-12-21 Comments123456# 设置连续输错三次密码,账号锁定五分钟, /etc/pam.d/common-auth添加auth required pam_tally.so onerr=fail deny=3 unlock_time=300# 只允许test组用户su到root,则etc/pam.d/su添加auth required pam_wheel.so group=test