Set vsftpd login failures limit

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

Guess you like

Origin blog.51cto.com/yangzhiming/2472698