(((mira los comentarios!!!)))
$ vim /etc/pam.d/sshd #%PAM-1.0auth required pam_sepermit.so# bloqueo ante intentos fallidosauth required pam_tally2.so deny=3auth include password-authaccount required pam_nologin.so(...)
Para desbloquear usuarios$ pam_tally2 --reset -u NOMBRE_DE_USUARIO
Note: Only a member of this blog may post a comment.
$ vim /etc/pam.d/sshd
ReplyDelete#%PAM-1.0
auth required pam_sepermit.so
# bloqueo ante intentos fallidos
auth required pam_tally2.so deny=3
auth include password-auth
account required pam_nologin.so
(...)
Para desbloquear usuarios
ReplyDelete$ pam_tally2 --reset -u NOMBRE_DE_USUARIO