Tuesday, March 25, 2014

CentOS 6 + PAM

2 comments:

  1. $ vim /etc/pam.d/sshd
    #%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
    (...)

    ReplyDelete
  2. Para desbloquear usuarios

    $ pam_tally2 --reset -u NOMBRE_DE_USUARIO

    ReplyDelete

Note: Only a member of this blog may post a comment.