From 1cdc4716c2b8a671b1aacff72a94fa4eaaf307da Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 5 Dec 2020 09:08:43 -0700 Subject: [PATCH] Comment out the default plugin lines in the example sudo.conf. Fixes a problem when there are multiple versions of sudo installed and not all suport the audit plugin, such as on macOS. GitHub issue #75 --- doc/sudo.conf.man.in | 8 ++++---- doc/sudo.conf.mdoc.in | 8 ++++---- examples/sudo.conf.in | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/sudo.conf.man.in b/doc/sudo.conf.man.in index f544fc979..36a3c00b6 100644 --- a/doc/sudo.conf.man.in +++ b/doc/sudo.conf.man.in @@ -17,7 +17,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .nr SL @SEMAN@ -.TH "SUDO.CONF" "@mansectform@" "October 30, 2020" "Sudo @PACKAGE_VERSION@" "File Formats Manual" +.TH "SUDO.CONF" "@mansectform@" "December 5, 2020" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .nh .if n .ad l .SH "NAME" @@ -708,9 +708,9 @@ front end configuration # The plugin_options are optional. # # The sudoers plugin is used by default if no Plugin lines are present. -Plugin sudoers_policy sudoers.so -Plugin sudoers_io sudoers.so -Plugin sudoers_audit sudoers.so +#Plugin sudoers_policy sudoers.so +#Plugin sudoers_io sudoers.so +#Plugin sudoers_audit sudoers.so # # Sudo askpass: diff --git a/doc/sudo.conf.mdoc.in b/doc/sudo.conf.mdoc.in index c3c3477fb..2d572e5ee 100644 --- a/doc/sudo.conf.mdoc.in +++ b/doc/sudo.conf.mdoc.in @@ -16,7 +16,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .nr SL @SEMAN@ -.Dd October 30, 2020 +.Dd December 5, 2020 .Dt SUDO.CONF @mansectform@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -642,9 +642,9 @@ front end configuration # The plugin_options are optional. # # The sudoers plugin is used by default if no Plugin lines are present. -Plugin sudoers_policy sudoers.so -Plugin sudoers_io sudoers.so -Plugin sudoers_audit sudoers.so +#Plugin sudoers_policy sudoers.so +#Plugin sudoers_io sudoers.so +#Plugin sudoers_audit sudoers.so # # Sudo askpass: diff --git a/examples/sudo.conf.in b/examples/sudo.conf.in index d4342b2ce..5e36034f2 100644 --- a/examples/sudo.conf.in +++ b/examples/sudo.conf.in @@ -11,9 +11,9 @@ # The plugin_options are optional. # # The sudoers plugin is used by default if no Plugin lines are present. -Plugin sudoers_policy sudoers.so -Plugin sudoers_io sudoers.so -Plugin sudoers_audit sudoers.so +#Plugin sudoers_policy sudoers.so +#Plugin sudoers_io sudoers.so +#Plugin sudoers_audit sudoers.so # # Sudo askpass: