From d947abaa357a056771cd8b7ac59f38e002623d74 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 25 Jul 2007 20:19:37 +0000 Subject: [PATCH] Use 8 and 5 instead of @mansectsu@ and @mansectform@ since the latter confuses pod2man. The Makefile rules for the .man.in file will add @mansectsu@ and @mansectform@ back in after pod2man is done anyway. --- sudo.pod | 28 ++++++++++++++-------------- sudoers.pod | 2 +- visudo.pod | 4 ++-- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/sudo.pod b/sudo.pod index 81a48cb57..485d992ce 100644 --- a/sudo.pod +++ b/sudo.pod @@ -117,7 +117,7 @@ standard input, standard output and standard error. The B<-C> above the standard error (file descriptor three). Values less than three are not permitted. This option is only available if the administrator has enabled the I option in -L. +L. =item -c @@ -135,9 +135,9 @@ where B has been configured with the --with-logincap option. =item -E The B<-E> (I) option will override the -I option in L). It is only +I option in L). It is only available when either the matching command has the C tag -or the I option is set in L. +or the I option is set in L. =item -e @@ -179,8 +179,8 @@ temporary file. The B<-H> (I) option sets the C environment variable to the homedir of the target user (root by default) as specified -in passwd(@mansectform@). By default, B does not modify C -(see I and I in L). +in passwd(5). By default, B does not modify C +(see I and I in L). =item -h @@ -189,7 +189,7 @@ The B<-h> (I) option causes B to print a usage message and exit. =item -i The B<-i> (I) option runs the shell specified -in the L entry of the user that the command is +in the L entry of the user that the command is being run as. The command name argument given to the shell begins with a `C<->' to tell the shell to run as a login shell. B attempts to change to that user's home directory before running the @@ -277,7 +277,7 @@ the standard input instead of the terminal device. The B<-s> (I) option runs the shell specified by the I environment variable if it is set or the shell as specified -in L. +in L. =item -U @@ -291,7 +291,7 @@ option. The B<-u> (I) option causes B to run the specified command as a user other than I. To specify a I instead of a I, use I<#uid>. Note that if the I Defaults -option is set (see L) it is not possible +option is set (see L) it is not possible to run commands with a uid not listed in the password database. =item -V @@ -323,7 +323,7 @@ command line are subject to the same restrictions as normal environment variables with one important exception. If the I option is set in I or the command to be run has the C tag set the user may set variables that would overwise be forbidden. -See L for more information. +See L for more information. =head1 RETURN VALUES @@ -412,7 +412,7 @@ editors). Because of this, care must be taken when giving users access to commands via B to verify that the command does not inadvertently give the user an effective root shell. For more information, please see the C section in -L. +L. =head1 ENVIRONMENT @@ -454,7 +454,7 @@ B utilizes the following environment variables: =head1 EXAMPLES -Note: the following examples assume suitable L entries. +Note: the following examples assume suitable L entries. To get a file listing of an unreadable directory: @@ -481,8 +481,8 @@ to make the C and file redirection work. =head1 SEE ALSO -L, L, L, L, L, -L, L +L, L, L, L, L, +L, L =head1 AUTHORS @@ -502,7 +502,7 @@ if that user is allowed to run arbitrary commands via B. Also, many programs (such as editors) allow the user to run commands via shell escapes, thus avoiding B's checks. However, on most systems it is possible to prevent shell escapes with B's -I functionality. See the L manual +I functionality. See the L manual for details. It is not meaningful to run the C command directly via sudo, e.g., diff --git a/sudoers.pod b/sudoers.pod index 7ffb752e0..2e5332c56 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -1363,7 +1363,7 @@ B. =head1 SEE ALSO -L, L, L, L, L +L, L, L, L, L =head1 CAVEATS diff --git a/visudo.pod b/visudo.pod index 4bd518b84..8bd1fd329 100644 --- a/visudo.pod +++ b/visudo.pod @@ -32,7 +32,7 @@ B [B<-c>] [B<-q>] [B<-s>] [B<-V>] [B<-f> I] =head1 DESCRIPTION B edits the I file in a safe fashion, analogous to -L. B locks the I file against multiple +L. B locks the I file against multiple simultaneous edits, provides basic sanity checks, and checks for parse errors. If the I file is currently being edited you will receive a message to try again later. @@ -153,7 +153,7 @@ B<-s> (strict) mode this is an error, not a warning. =head1 SEE ALSO -L, L, L, L +L, L, L, L =head1 AUTHOR -- 2.40.0