2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 05:17:54 +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. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.nr SL @SEMAN@ .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 .nh
.if n .ad l .if n .ad l
.SH "NAME" .SH "NAME"
@ -127,7 +127,7 @@ In other words:
.nf .nf
.sp .sp
.RS 4n .RS 4n
Plugin sudoers_policy @sudoers_module@ Plugin sudoers_policy @sudoers_plugin@
.RE .RE
.fi .fi
.PP .PP
@ -135,7 +135,7 @@ is equivalent to:
.nf .nf
.sp .sp
.RS 4n .RS 4n
Plugin sudoers_policy @plugindir@/@sudoers_module@ Plugin sudoers_policy @plugindir@/@sudoers_plugin@
.RE .RE
.fi .fi
.PP .PP
@ -149,7 +149,7 @@ For example:
.nf .nf
.sp .sp
.RS 4n .RS 4n
Plugin sudoers_policy @sudoers_module@ Plugin sudoers_policy @sudoers_plugin@
.RE .RE
.fi .fi
.PP .PP
@ -164,7 +164,7 @@ For example, to override the compile-time default sudoers file mode:
.nf .nf
.sp .sp
.RS 4n .RS 4n
Plugin sudoers_policy @sudoers_module@ sudoers_mode=0440 Plugin sudoers_policy @sudoers_plugin@ sudoers_mode=0440
.RE .RE
.fi .fi
.PP .PP
@ -191,9 +191,9 @@ This is equivalent to the following:
.nf .nf
.sp .sp
.RS 4n .RS 4n
Plugin sudoers_policy @sudoers_module@ Plugin sudoers_policy @sudoers_plugin@
Plugin sudoers_io @sudoers_module@ Plugin sudoers_io @sudoers_plugin@
Plugin sudoers_audit @sudoers_module@ Plugin sudoers_audit @sudoers_plugin@
.RE .RE
.fi .fi
.PP .PP
@ -595,7 +595,7 @@ entries are also supported starting with
\fBsudo\fR \fBsudo\fR
1.8.12 and are matched by either the base name of the plugin that was loaded 1.8.12 and are matched by either the base name of the plugin that was loaded
(for example (for example
\fI@sudoers_module@\fR) \fI@sudoers_plugin@\fR)
or by the plugin's fully-qualified path name. or by the plugin's fully-qualified path name.
Previously, the Previously, the
\fBsudoers\fR \fBsudoers\fR
@ -714,9 +714,9 @@ front-end configuration
# The plugin_options are optional. # The plugin_options are optional.
# #
# The sudoers plugin is used by default if no Plugin lines are present. # The sudoers plugin is used by default if no Plugin lines are present.
#Plugin sudoers_policy @sudoers_module@ #Plugin sudoers_policy @sudoers_plugin@
#Plugin sudoers_io @sudoers_module@ #Plugin sudoers_io @sudoers_plugin@
#Plugin sudoers_audit @sudoers_module@ #Plugin sudoers_audit @sudoers_plugin@
# #
# Sudo askpass: # Sudo askpass:

View File

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

View File

@ -25,7 +25,7 @@
.nr BA @BAMAN@ .nr BA @BAMAN@
.nr LC @LCMAN@ .nr LC @LCMAN@
.nr PS @PSMAN@ .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 .nh
.if n .ad l .if n .ad l
.SH "NAME" .SH "NAME"
@ -72,9 +72,9 @@ plugin, the following configuration can be used.
.nf .nf
.sp .sp
.RS 4n .RS 4n
Plugin sudoers_audit @sudoers_module@ Plugin sudoers_audit @sudoers_plugin@
Plugin sudoers_policy @sudoers_module@ Plugin sudoers_policy @sudoers_plugin@
Plugin sudoers_io @sudoers_module@ Plugin sudoers_io @sudoers_plugin@
.RE .RE
.fi .fi
.PP .PP
@ -87,7 +87,7 @@ sudo.conf(@mansectform@)
file. file.
Plugin arguments, if any, should be listed after the path to the plugin Plugin arguments, if any, should be listed after the path to the plugin
(i.e., after (i.e., after
\fI@sudoers_module@\fR). \fI@sudoers_plugin@\fR).
The arguments are only effective for the plugin that opens (and parses) the The arguments are only effective for the plugin that opens (and parses) the
\fIsudoers\fR \fIsudoers\fR
file. file.
@ -105,7 +105,7 @@ For example:
.nf .nf
.sp .sp
.RS 4n .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 .RE
.fi .fi
.PP .PP

View File

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

View File

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

View File

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