- 论坛徽章:
- 0
|
vi /etc/default/login\r\n修改下面这段话:\r\n# DISABLETIME If present, and greater than zero, the number of seconds\r\n# login will wait after RETRIES failed attempts or the PAM framework returns\r\n# PAM_ABORT. Default is 20. Minimum is 0. No maximum is imposed.\r\n#\r\n#DISABLETIME=20\r\n\r\n可能你还要修改这段话,修改可以retries的次数:\r\n# RETRIES determines the number of failed logins that will be\r\n# allowed before login exits. Default is 5 and maximum is 15.\r\n# If account locking is configured (user_attr(4)/policy.conf(4))\r\n# for a local user\'s account (passwd(4)/shadow(4)), that account\r\n# will be locked if failed logins equals or exceeds RETRIES.\r\n#\r\n#RETRIES=5 |
|