Skip to content

Conversation

@bjorn3
Copy link
Collaborator

@bjorn3 bjorn3 commented Nov 19, 2025

This way they rather than silently discarding the error message and doing another authentication attempt, they properly report the error message and cause sudo to exit. This way for example pam_faillock won't cause a persistent error like incorrect SUDO_ASKPASS value (once implemented) to be treated as multiple successive failed password attempts.

@bjorn3 bjorn3 requested a review from squell November 19, 2025 12:38
@bjorn3 bjorn3 added this to the askpass milestone Nov 19, 2025
@bjorn3 bjorn3 marked this pull request as draft November 19, 2025 13:34
This way they rather than silently discarding the error message and
doing another authentication attempt, they properly report the error
message and cause sudo to exit. This way for example pam_faillock won't
cause a persistent error like incorrect SUDO_ASKPASS value (once
implemented) to be treated as multiple successive failed password
attempts.
@bjorn3 bjorn3 force-pushed the pam_propagate_error branch from 2dcbfa7 to a7d610d Compare November 19, 2025 14:23
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.

1 participant