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 or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Add the following entries to the ftpaccess file.
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
The preceding example states that the user is disconnected from the FTP server after 10 failed login attempts.