2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Use @sudoers_plugin@ instead of @sudoers_module@.

This commit is contained in:
Todd C. Miller 2022-12-26 13:56:43 -07:00
parent f6e0e87ba9
commit eeea67e70b
6 changed files with 42 additions and 42 deletions

View File

@ -17,7 +17,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.nr SL @SEMAN@
.TH "SUDO.CONF" "@mansectform@" "December 22, 2022" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.TH "SUDO.CONF" "@mansectform@" "December 26, 2022" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh
.if n .ad l
.SH "NAME"
@ -127,7 +127,7 @@ In other words:
.nf
.sp
.RS 4n
Plugin sudoers_policy @sudoers_module@
Plugin sudoers_policy @sudoers_plugin@
.RE
.fi
.PP
@ -135,7 +135,7 @@ is equivalent to:
.nf
.sp
.RS 4n
Plugin sudoers_policy @plugindir@/@sudoers_module@
Plugin sudoers_policy @plugindir@/@sudoers_plugin@
.RE
.fi
.PP
@ -149,7 +149,7 @@ For example:
.nf
.sp
.RS 4n
Plugin sudoers_policy @sudoers_module@
Plugin sudoers_policy @sudoers_plugin@
.RE
.fi
.PP
@ -164,7 +164,7 @@ For example, to override the compile-time default sudoers file mode:
.nf
.sp
.RS 4n
Plugin sudoers_policy @sudoers_module@ sudoers_mode=0440
Plugin sudoers_policy @sudoers_plugin@ sudoers_mode=0440
.RE
.fi
.PP
@ -191,9 +191,9 @@ This is equivalent to the following:
.nf
.sp
.RS 4n
Plugin sudoers_policy @sudoers_module@
Plugin sudoers_io @sudoers_module@
Plugin sudoers_audit @sudoers_module@
Plugin sudoers_policy @sudoers_plugin@
Plugin sudoers_io @sudoers_plugin@
Plugin sudoers_audit @sudoers_plugin@
.RE
.fi
.PP
@ -595,7 +595,7 @@ entries are also supported starting with
\fBsudo\fR
1.8.12 and are matched by either the base name of the plugin that was loaded
(for example
\fI@sudoers_module@\fR)
\fI@sudoers_plugin@\fR)
or by the plugin's fully-qualified path name.
Previously, the
\fBsudoers\fR
@ -714,9 +714,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_module@
#Plugin sudoers_io @sudoers_module@
#Plugin sudoers_audit @sudoers_module@
#Plugin sudoers_policy @sudoers_plugin@
#Plugin sudoers_io @sudoers_plugin@
#Plugin sudoers_audit @sudoers_plugin@
#
# Sudo askpass:

View File

@ -16,7 +16,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.nr SL @SEMAN@
.Dd December 22, 2022
.Dd December 26, 2022
.Dt SUDO.CONF @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
@ -122,12 +122,12 @@ setting, which defaults to
.Pa @plugindir@ .
In other words:
.Bd -literal -offset 4n
Plugin sudoers_policy @sudoers_module@
Plugin sudoers_policy @sudoers_plugin@
.Ed
.Pp
is equivalent to:
.Bd -literal -offset 4n
Plugin sudoers_policy @plugindir@/@sudoers_module@
Plugin sudoers_policy @plugindir@/@sudoers_plugin@
.Ed
.Pp
If the plugin was compiled statically into the
@ -138,7 +138,7 @@ should be specified without a leading directory,
as it does not actually exist in the file system.
For example:
.Bd -literal -offset 4n
Plugin sudoers_policy @sudoers_module@
Plugin sudoers_policy @sudoers_plugin@
.Ed
.Pp
Starting with
@ -150,7 +150,7 @@ are passed as arguments to the plugin's
function.
For example, to override the compile-time default sudoers file mode:
.Bd -literal -offset 4n
Plugin sudoers_policy @sudoers_module@ sudoers_mode=0440
Plugin sudoers_policy @sudoers_plugin@ sudoers_mode=0440
.Ed
.Pp
See the
@ -174,9 +174,9 @@ plugin will be used as the default security policy, for I/O logging
(if enabled by the policy), and for auditing.
This is equivalent to the following:
.Bd -literal -offset 4n
Plugin sudoers_policy @sudoers_module@
Plugin sudoers_io @sudoers_module@
Plugin sudoers_audit @sudoers_module@
Plugin sudoers_policy @sudoers_plugin@
Plugin sudoers_io @sudoers_plugin@
Plugin sudoers_audit @sudoers_plugin@
.Ed
.Pp
Starting with
@ -542,7 +542,7 @@ entries are also supported starting with
.Nm sudo
1.8.12 and are matched by either the base name of the plugin that was loaded
(for example
.Pa @sudoers_module@ )
.Pa @sudoers_plugin@ )
or by the plugin's fully-qualified path name.
Previously, the
.Nm sudoers
@ -646,9 +646,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_module@
#Plugin sudoers_io @sudoers_module@
#Plugin sudoers_audit @sudoers_module@
#Plugin sudoers_policy @sudoers_plugin@
#Plugin sudoers_io @sudoers_plugin@
#Plugin sudoers_audit @sudoers_plugin@
#
# Sudo askpass:

View File

@ -25,7 +25,7 @@
.nr BA @BAMAN@
.nr LC @LCMAN@
.nr PS @PSMAN@
.TH "SUDOERS" "@mansectform@" "December 22, 2022" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.TH "SUDOERS" "@mansectform@" "December 26, 2022" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh
.if n .ad l
.SH "NAME"
@ -72,9 +72,9 @@ plugin, the following configuration can be used.
.nf
.sp
.RS 4n
Plugin sudoers_audit @sudoers_module@
Plugin sudoers_policy @sudoers_module@
Plugin sudoers_io @sudoers_module@
Plugin sudoers_audit @sudoers_plugin@
Plugin sudoers_policy @sudoers_plugin@
Plugin sudoers_io @sudoers_plugin@
.RE
.fi
.PP
@ -87,7 +87,7 @@ sudo.conf(@mansectform@)
file.
Plugin arguments, if any, should be listed after the path to the plugin
(i.e., after
\fI@sudoers_module@\fR).
\fI@sudoers_plugin@\fR).
The arguments are only effective for the plugin that opens (and parses) the
\fIsudoers\fR
file.
@ -105,7 +105,7 @@ For example:
.nf
.sp
.RS 4n
Plugin sudoers_audit @sudoers_module@ sudoers_mode=0400 error_recovery=false
Plugin sudoers_audit @sudoers_plugin@ sudoers_mode=0400 error_recovery=false
.RE
.fi
.PP

View File

@ -25,7 +25,7 @@
.nr BA @BAMAN@
.nr LC @LCMAN@
.nr PS @PSMAN@
.Dd December 22, 2022
.Dd December 26, 2022
.Dt SUDOERS @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
@ -70,9 +70,9 @@ to use the
.Nm
plugin, the following configuration can be used.
.Bd -literal -offset 4n
Plugin sudoers_audit @sudoers_module@
Plugin sudoers_policy @sudoers_module@
Plugin sudoers_io @sudoers_module@
Plugin sudoers_audit @sudoers_plugin@
Plugin sudoers_policy @sudoers_plugin@
Plugin sudoers_io @sudoers_plugin@
.Ed
.Pp
Starting with
@ -84,7 +84,7 @@ plugin in the
file.
Plugin arguments, if any, should be listed after the path to the plugin
(i.e., after
.Pa @sudoers_module@ ) .
.Pa @sudoers_plugin@ ) .
The arguments are only effective for the plugin that opens (and parses) the
.Em sudoers
file.
@ -100,7 +100,7 @@ plugin.
Multiple arguments may be specified, separated by white space.
For example:
.Bd -literal -offset 4n
Plugin sudoers_audit @sudoers_module@ sudoers_mode=0400 error_recovery=false
Plugin sudoers_audit @sudoers_plugin@ sudoers_mode=0400 error_recovery=false
.Ed
.Pp
The following plugin arguments are supported:

View File

@ -21,7 +21,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
.TH "VISUDO" "@mansectsu@" "December 22, 2022" "Sudo @PACKAGE_VERSION@" "System Manager's Manual"
.TH "VISUDO" "@mansectsu@" "December 26, 2022" "Sudo @PACKAGE_VERSION@" "System Manager's Manual"
.nh
.if n .ad l
.SH "NAME"
@ -323,13 +323,13 @@ plugin to override the default
path name, user-ID, group-ID, and file mode.
These arguments, if present, should be listed after the path to the plugin
(i.e., after
\fI@sudoers_module@\fR).
\fI@sudoers_plugin@\fR).
Multiple arguments may be specified, separated by white space.
For example:
.nf
.sp
.RS 4n
Plugin sudoers_policy @sudoers_module@ sudoers_mode=0400
Plugin sudoers_policy @sudoers_plugin@ sudoers_mode=0400
.RE
.fi
.PP

View File

@ -20,7 +20,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
.Dd December 22, 2022
.Dd December 26, 2022
.Dt VISUDO @mansectsu@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
@ -314,11 +314,11 @@ plugin to override the default
path name, user-ID, group-ID, and file mode.
These arguments, if present, should be listed after the path to the plugin
(i.e., after
.Pa @sudoers_module@ ) .
.Pa @sudoers_plugin@ ) .
Multiple arguments may be specified, separated by white space.
For example:
.Bd -literal -offset 4n
Plugin sudoers_policy @sudoers_module@ sudoers_mode=0400
Plugin sudoers_policy @sudoers_plugin@ sudoers_mode=0400
.Ed
.Pp
The following arguments are supported: