Remove most uses of the deprecated Li macro which has no effect.

Also fix some other incorrect markup.
This commit is contained in:
Todd C. Miller
2022-09-13 19:56:45 -06:00
parent a326411903
commit c341608072
26 changed files with 1398 additions and 1466 deletions

View File

@@ -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" "September 2, 2022" "Sudo @PACKAGE_VERSION@" "General Commands Manual"
.TH "CVTSUDOERS" "1" "September 13, 2022" "Sudo @PACKAGE_VERSION@" "General Commands Manual"
.nh
.if n .ad l
.SH "NAME"
@@ -67,9 +67,8 @@ The options are as follows:
The base DN (distinguished name) that will be used when performing
LDAP queries.
Typically this is of the form
\fRou=SUDOers,dc=my-domain,dc=com\fR
for the domain
\fRmy-domain.com\fR.
\(lqou=SUDOers,dc=my-domain,dc=com\(rq
for the domain my-domain.com.
If this option is not specified, the value of the
\fRSUDOERS_BASE\fR
environment variable will be used instead.
@@ -82,10 +81,10 @@ Defaults to
.TP 12n
\fB\-d\fR \fIdeftypes\fR, \fB\--defaults\fR=\fIdeftypes\fR
Only convert
\fRDefaults\fR
\fIDefaults\fR
entries of the specified types.
One or more
\fRDefaults\fR
\fIDefaults\fR
types may be specified, separated by a comma
(\(oq\&,\(cq).
The supported types are:
@@ -122,7 +121,7 @@ for more information.
If the
\fB\-d\fR
option is not specified, all
\fRDefaults\fR
\fIDefaults\fR
entries will be converted.
.RE
.TP 12n
@@ -265,10 +264,10 @@ For example,
or
\fBhost\fR = \fIwww\fR.
An upper-case
\fRCmnd_Alias\fR,
\fRHost_alias\fR,
\fICmnd_Alias\fR,
\fIHost_alias\fR,
or
\fRUser_Alias\fR
\fIUser_Alias\fR
may be specified as the
\(lqcmnd\(rq,
\(lqhost\(rq,
@@ -441,7 +440,7 @@ Per-user rules are merged and duplicates are removed.
If a host name is specified with the input file,
\fBcvtsudoers\fR
will change rules that specify a host name of
\fRALL\fR
\fBALL\fR
to the host name associated with the policy file being merged.
The merging of rules is currently fairly simplistic but will be
improved in a later release.
@@ -676,7 +675,7 @@ and
Host_Aliases
A JSON object containing one or more
\fIsudoers\fR
\fRHost_Alias\fR
\fIHost_Alias\fR
entries where each named alias has as its value an array
containing one or more objects.
Each object contains a
@@ -711,7 +710,7 @@ For example:
Cmnd_Aliases
A JSON object containing one or more
\fIsudoers\fR
\fRCmnd_Alias\fR
\fICmnd_Alias\fR
entries where each named alias has as its value an array
containing one or more objects.
Each object contains a
@@ -1006,20 +1005,20 @@ defaults_type
The type of
\fIDefaults\fR
setting; one of
\fRdefaults\fR,
\fRdefaults_command\fR,
\fRdefaults_host\fR,
\fRdefaults_runas\fR,
\fIdefaults\fR,
\fIdefaults_command\fR,
\fIdefaults_host\fR,
\fIdefaults_runas\fR,
or
\fRdefaults_user\fR.
\fIdefaults_user\fR.
.TP 10n
binding
For
\fRdefaults_command\fR,
\fRdefaults_host\fR,
\fRdefaults_runas\fR,
\fIdefaults_command\fR,
\fIdefaults_host\fR,
\fIdefaults_runas\fR,
and
\fRdefaults_user\fR
\fIdefaults_user\fR
this is the value that must match for the setting to be applied.
.TP 10n
name
@@ -1051,11 +1050,11 @@ or
.TP 6n
aliases
This section includes any
\fRCmnd_Alias\fR
\fRHost_Alias\fR,
\fRRunas_Alias\fR,
\fICmnd_Alias\fR
\fIHost_Alias\fR,
\fIRunas_Alias\fR,
or
\fRUser_Alias\fR,
\fIUser_Alias\fR,
entries from
\fIsudoers\fR.
The
@@ -1073,11 +1072,11 @@ The fields are as follows:
.TP 10n
alias_type
The type of alias; one of
\fRCmnd_Alias\fR,
\fRHost_Alias\fR,
\fRRunas_Alias\fR,
\fICmnd_Alias\fR,
\fIHost_Alias\fR,
\fIRunas_Alias\fR,
or
\fRUser_Alias\fR.
\fIUser_Alias\fR.
.TP 10n
alias_name
The name of the alias; a string starting with an upper-case letter that
@@ -1127,7 +1126,7 @@ or a netgroup (preceded by a
\(oq+\(cq
character)
or a
\fRUser_Alias\fR.
\fIUser_Alias\fR.
If set to the special value
\fBALL\fR,
it will match any user.
@@ -1138,14 +1137,14 @@ This may also be a netgroup (preceded by a
\(oq+\(cq
character)
or a
\fRHost_Alias\fR.
\fIHost_Alias\fR.
If set to the special value
\fBALL\fR,
it will match any host.
.TP 10n
runusers
An optional comma-separated list of users (or
\fRRunas_Alias\fRes)
\fIRunas_Alias\fRes)
the command may be run as.
If it contains more than one member, the value is surrounded by
double quotes.
@@ -1157,7 +1156,7 @@ If empty, the root user is assumed.
rungroups
.br
An optional comma-separated list of groups (or
\fRRunas_Alias\fRes)
\fIRunas_Alias\fRes)
the command may be run as.
If it contains more than one member, the value is surrounded by
double quotes.