Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pam_silent configuration setting #368

Closed
wants to merge 1 commit into from

Conversation

Ferdi265
Copy link
Contributor

This commit adds a boolean setting 'pam_silent' that controls whether sudo will pass PAM_SILENT to pam_authenticate(). The default for this setting is 'true', which reflects the previous behaviour.

When this setting is set to 'false', pam messages such as faillock lockout message will be displayed, which is not the case for current 'sudo'.

Related to issue #216.

This commit adds a boolean setting 'pam_silent' that controls whether
sudo will pass PAM_SILENT to pam_authenticate(). The default for this
setting is 'true'.

When this setting is set to 'false', pam messages such as faillock
lockout message will be displayed, which is not the case for the
default.
millert added a commit that referenced this pull request Apr 18, 2024
Inspired by PR #368
GitHub issue #216
@millert
Copy link
Collaborator

millert commented Apr 18, 2024

Thanks for doing this. In ecdf0c8 I decided to make this a sudoers option instead (like the existing pam settings) rather than a sudo.conf option. Typically, I reserve sudo.conf for settings that control the sudo front-end itself.

@millert millert closed this Apr 18, 2024
@Ferdi265
Copy link
Contributor Author

Fine by me :)
Thanks for reworking this!

@Ferdi265 Ferdi265 deleted the feature-conf-pam-silent branch April 18, 2024 07:46
Ferdi265 pushed a commit to Ferdi265/sudo that referenced this pull request Apr 18, 2024
Ferdi265 pushed a commit to Ferdi265/sudo that referenced this pull request Apr 28, 2024
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.

2 participants