Vsftpd set number of failed login restrictions:
vi / etc / pam / vsftpd (after the change to take effect without restarting the service)
auth required pam_tally2.so deny=5 lock_time=300
:wq
Note:
. 1, representative of the deny = 5 5 times the wrong password lock on account
2, lock_time = 300 represents automatically unlock after 5 minutes