mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Fix some style warnings from "mandoc -Tlint"
This commit is contained in:
parent
3ba525a348
commit
4d331e6026
@ -2,7 +2,7 @@
|
||||
.\"
|
||||
.\" SPDX-License-Identifier: ISC
|
||||
.\"
|
||||
.\" Copyright (c) 2018, 2021-2023 Todd C. Miller <Todd.Miller@sudo.ws>
|
||||
.\" Copyright (c) 2018, 2021-2025 Todd C. Miller <Todd.Miller@sudo.ws>
|
||||
.\"
|
||||
.\" Permission to use, copy, modify, and distribute this software for any
|
||||
.\" purpose with or without fee is hereby granted, provided that the above
|
||||
@ -16,7 +16,7 @@
|
||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.TH "CVTSUDOERS" "1" "April 26, 2024" "Sudo @PACKAGE_VERSION@" "General Commands Manual"
|
||||
.TH "CVTSUDOERS" "1" "February 22, 2025" "Sudo @PACKAGE_VERSION@" "General Commands Manual"
|
||||
.nh
|
||||
.if n .ad l
|
||||
.SH "NAME"
|
||||
@ -47,7 +47,7 @@ utility accepts one or more security policies in either
|
||||
or LDIF format as input, and generates a single
|
||||
policy of the specified format as output.
|
||||
The default input format is
|
||||
\fIsudoers.\fR
|
||||
\fIsudoers\fR.
|
||||
The default output format is LDIF.
|
||||
It is only possible to convert a policy file that is syntactically correct.
|
||||
.PP
|
||||
@ -888,7 +888,8 @@ array, an optional
|
||||
array, an optional
|
||||
\fIrunasgroups\fR
|
||||
array, and an optional
|
||||
\fIOptions array.\fR
|
||||
\fIOptions\fR
|
||||
array.
|
||||
.sp
|
||||
The
|
||||
\fICommands\fR
|
||||
|
@ -1,7 +1,7 @@
|
||||
.\"
|
||||
.\" SPDX-License-Identifier: ISC
|
||||
.\"
|
||||
.\" Copyright (c) 2018, 2021-2023 Todd C. Miller <Todd.Miller@sudo.ws>
|
||||
.\" Copyright (c) 2018, 2021-2025 Todd C. Miller <Todd.Miller@sudo.ws>
|
||||
.\"
|
||||
.\" Permission to use, copy, modify, and distribute this software for any
|
||||
.\" purpose with or without fee is hereby granted, provided that the above
|
||||
@ -15,7 +15,7 @@
|
||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.Dd April 26, 2024
|
||||
.Dd February 22, 2025
|
||||
.Dt CVTSUDOERS 1
|
||||
.Os Sudo @PACKAGE_VERSION@
|
||||
.Sh NAME
|
||||
@ -775,7 +775,8 @@ array, an optional
|
||||
array, an optional
|
||||
.Em runasgroups
|
||||
array, and an optional
|
||||
.Em Options array.
|
||||
.Em Options
|
||||
array.
|
||||
.Pp
|
||||
The
|
||||
.Em Commands
|
||||
|
@ -479,7 +479,8 @@ validate(self)
|
||||
.fi
|
||||
.RS 6n
|
||||
.sp
|
||||
For policy plugins that cache authentication credentials, this function is used to validate and cache the credentials (optional).
|
||||
For policy plugins that cache authentication credentials,
|
||||
this function is used to validate and cache the credentials (optional).
|
||||
.RE
|
||||
.TP 6n
|
||||
\fIinvalidate\fR
|
||||
@ -490,7 +491,8 @@ invalidate(self, remove: int)
|
||||
.fi
|
||||
.RS 6n
|
||||
.sp
|
||||
For policy plugins that cache authentication credentials, this function is used to invalidate the credentials (optional).
|
||||
For policy plugins that cache authentication credentials,
|
||||
this function is used to invalidate the credentials (optional).
|
||||
.sp
|
||||
The function arguments are as follows:
|
||||
.TP 6n
|
||||
@ -553,8 +555,8 @@ The exit status of the command if was executed, otherwise \-1.
|
||||
.TP 6n
|
||||
\fIerror\fR
|
||||
.br
|
||||
If the command could not be executed, this is set to the value of
|
||||
errno set by the
|
||||
If the command could not be executed,
|
||||
this is set to the value of errno set by the
|
||||
execve(2)
|
||||
system call, otherwise 0.
|
||||
.PD 0
|
||||
@ -853,8 +855,8 @@ The exit status of the command if was executed, otherwise \-1.
|
||||
.TP 6n
|
||||
\fIerror\fR
|
||||
.br
|
||||
If the command could not be executed, this is set to the value of
|
||||
errno set by the
|
||||
If the command could not be executed,
|
||||
this is set to the value of errno set by the
|
||||
execve(2)
|
||||
system call, otherwise 0.
|
||||
.PD 0
|
||||
@ -887,7 +889,8 @@ Plugin python_audit @python_plugin@ ModulePath=<path> ClassName=<class>
|
||||
Sudo supports loading multiple audit plugins.
|
||||
Currently only 8 python audit plugins can be loaded at once.
|
||||
.PP
|
||||
An audit plugin may have the following member functions (all of which are optional):
|
||||
An audit plugin may have the following member functions
|
||||
(all of which are optional):
|
||||
.TP 6n
|
||||
\fIconstructor\fR
|
||||
.nf
|
||||
|
@ -401,13 +401,15 @@ the plugin should list the privileges of the invoking user.
|
||||
validate(self)
|
||||
.Ed
|
||||
.Pp
|
||||
For policy plugins that cache authentication credentials, this function is used to validate and cache the credentials (optional).
|
||||
For policy plugins that cache authentication credentials,
|
||||
this function is used to validate and cache the credentials (optional).
|
||||
.It Fa invalidate
|
||||
.Bd -literal -compact
|
||||
invalidate(self, remove: int)
|
||||
.Ed
|
||||
.Pp
|
||||
For policy plugins that cache authentication credentials, this function is used to invalidate the credentials (optional).
|
||||
For policy plugins that cache authentication credentials,
|
||||
this function is used to invalidate the credentials (optional).
|
||||
.Pp
|
||||
The function arguments are as follows:
|
||||
.Bl -tag -width 4n
|
||||
@ -453,8 +455,8 @@ The function arguments are as follows:
|
||||
.It Fa exit_status
|
||||
The exit status of the command if was executed, otherwise \-1.
|
||||
.It Fa error
|
||||
If the command could not be executed, this is set to the value of
|
||||
errno set by the
|
||||
If the command could not be executed,
|
||||
this is set to the value of errno set by the
|
||||
.Xr execve 2
|
||||
system call, otherwise 0.
|
||||
.El
|
||||
@ -695,8 +697,8 @@ The function arguments are as follows:
|
||||
.It Fa exit_status
|
||||
The exit status of the command if was executed, otherwise \-1.
|
||||
.It Fa error
|
||||
If the command could not be executed, this is set to the value of
|
||||
errno set by the
|
||||
If the command could not be executed,
|
||||
this is set to the value of errno set by the
|
||||
.Xr execve 2
|
||||
system call, otherwise 0.
|
||||
.El
|
||||
@ -721,7 +723,8 @@ Plugin python_audit @python_plugin@ ModulePath=<path> ClassName=<class>
|
||||
Sudo supports loading multiple audit plugins.
|
||||
Currently only 8 python audit plugins can be loaded at once.
|
||||
.Pp
|
||||
An audit plugin may have the following member functions (all of which are optional):
|
||||
An audit plugin may have the following member functions
|
||||
(all of which are optional):
|
||||
.Bl -tag -width 4n
|
||||
.It Fa constructor
|
||||
.Bd -literal -compact
|
||||
|
Loading…
x
Reference in New Issue
Block a user