If a login to the FTP server fails because of a problem such as misspelling required information, login is usually repeated. The user is allowed a specific number of consecutive login attempts before a message is logged to the syslog file. At that point, the user is disconnected. You can set a failure limit on the number of login attempts by following steps in the next procedure.
Become superuser.
Add the following entries to the ftpaccess file.
loginfails n |
Keyword that is used to assign the number of login failures that are permitted before the FTP connection is terminated
Number of times a login can fail
loginfails 10 |
The preceding example states that the user is disconnected from the FTP server after 10 failed login attempts.