Displaying 1 result from an estimated 1 matches for "tdelmas".
2024 Sep 17
5
[Bug 3736] New: sshd falls back to password prompt after PAM module returns a PAM_MAXTRIES.
...ar **argv)
{
return PAM_MAXTRIES;
}
PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc,
const char **argv)
{
return PAM_SUCCESS;
}
Expected behavior:
ssh connection attempt should instantly terminates instead of asking
for a password prompt.
Current behavior:
ssh tdelmas at test-vm
tdelmas at test-vm's password:
Permission denied, please try again.
tdelmas at test-vm's password:
Permission denied, please try again.
tdelmas at test-vm's password:
tdelmas at test-vm: Permission denied ().
Is there a way for me to achieve my intended behavior? Am I wr...