修改/etc/pam.d/system-auth后无法登录ssh
1、等保加固/etc/pam.d/system-auth后无法登录ssh
应在/etc/pam.d/system-auth文件中配置:auth required /lib/security/pam_tally.so onerr=fail no_magic_root account required /lib/security/pam_tally.so deny=5 no_magic_root reset(建议普通用户设置为5次,root用户设置为30次)原因:在redhat版本中添加该配置参数account required /lib/security/pam_tally.so deny=5 no_magic_root reset导致的;