From ce36f01def3d8b36303e2fbc07e64f0b93f8a602 Mon Sep 17 00:00:00 2001 From: Ferdinand Bachmann Date: Tue, 10 Sep 2024 00:24:41 +0200 Subject: [PATCH] Add pam_silent setting to sudoers example config --- plugins/sudoers/sudoers.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/sudoers/sudoers.in b/plugins/sudoers/sudoers.in index b0d464160..8368c5e95 100644 --- a/plugins/sudoers/sudoers.in +++ b/plugins/sudoers/sudoers.in @@ -107,6 +107,10 @@ Defaults secure_path="@secure_path@" ## Some package scripts run a huge number of commands, which is made ## slower by these options and also can clutter up the logs. # Defaults!PKGMAN !intercept, !log_subcmds +## +## Uncomment to disable PAM silent mode. Otherwise messages by PAM +## modules such as pam_faillock will not be printed. +# Defaults !pam_silent ## ## Runas alias specification