Skip to content

Comments

Retry up to 3 times on password authentication failure#123

Open
rehanzo wants to merge 1 commit intoDuncaen:masterfrom
rehanzo:master
Open

Retry up to 3 times on password authentication failure#123
rehanzo wants to merge 1 commit intoDuncaen:masterfrom
rehanzo:master

Conversation

@rehanzo
Copy link

@rehanzo rehanzo commented Nov 28, 2023

Resolves #82

#102 was closed a few days ago, so I decided to take my shot. Took a look at the comments you left, and based my changes on that.

For the pam loop, I took a look and retrying authentication with a loop seems like an expected thing to do. From https://www.ibm.com/docs/en/aix/7.2?topic=p-pam-authenticate-subroutine:

On failure, it is the responsibility of the calling application to maintain a count of authentication attempts and to reinvoke the subroutine if the count has not exceeded a defined limit.

@nirodhvana
Copy link

why Not merged yet? Its been like 2 yrs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Multiple tries

2 participants