]> granicus.if.org Git - sudo/commitdiff
For the options list, add flag args where appropriate and increase the
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 16 Aug 2007 13:38:24 +0000 (13:38 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 16 Aug 2007 13:38:24 +0000 (13:38 +0000)
indent level so there is room for them.

sudo.pod
visudo.pod

index 305c7b5ca66d04cb1ec67ec4079427fa3c279bfd..1cb09f833eaf4118d9aad68cf7a4cf22f1c3d602 100644 (file)
--- a/sudo.pod
+++ b/sudo.pod
@@ -91,9 +91,9 @@ or via the I<sudoers> file.
 
 B<sudo> accepts the following command line options:
 
-=over 4
+=over 12
 
-=item -a
+=item -a I<type>
 
 The B<-a> (I<authentication type>) option causes B<sudo> to use the
 specified authentication type when validating the user, as allowed
@@ -108,7 +108,7 @@ The B<-b> (I<background>) option tells B<sudo> to run the given
 command in the background.  Note that if you use the B<-b>
 option you cannot use shell job control to manipulate the process.
 
-=item -C fd
+=item -C I<fd>
 
 Normally, B<sudo> will close all open file descriptors other than
 standard input, standard output and standard error.  The B<-C>
@@ -118,7 +118,7 @@ three are not permitted.  This option is only available if the
 administrator has enabled the I<closefrom_override> option in
 L<sudoers(5)>.
 
-=item -c
+=item -c I<class>
 
 The B<-c> (I<class>) option causes B<sudo> to run the specified command
 with resources limited by the specified login class.  The I<class>
@@ -233,7 +233,7 @@ B<sudo> will initialize the group vector to the list of groups the
 target user is in.  The real and effective group IDs, however, are
 still set to match the target user.
 
-=item -p
+=item -p I<prompt>
 
 The B<-p> (I<prompt>) option allows you to override the default
 password prompt and use a custom one.  The following percent (`C<%>')
@@ -277,14 +277,14 @@ The B<-s> (I<shell>) option runs the shell specified by the I<SHELL>
 environment variable if it is set or the shell as specified
 in L<passwd(5)>.
 
-=item -U
+=item -U I<user>
 
 The B<-U> (I<other user>) option is used in conjunction with the B<-l>
 option to specify the user whose privileges should be listed.  Only
 root or a user with B<sudo> C<ALL> on the current host may use this
 option.
 
-=item -u
+=item -u I<user>
 
 The B<-u> (I<user>) option causes B<sudo> to run the specified
 command as a user other than I<root>.  To specify a I<uid> instead
index 84395c21e596a4d90d722f322181346500ea8e7f..c1f9e918c36dedd5cb164e4bf9eb753fad39161c 100644 (file)
@@ -67,7 +67,7 @@ error occurred (if the editor supports this feature).
 
 B<visudo> accepts the following command line options:
 
-=over 4
+=over 12
 
 =item -c
 
@@ -78,7 +78,7 @@ If the syntax check completes successfully, B<visudo> will
 exit with a value of 0.  If a syntax error is encountered,
 B<visudo> will exit with a value of 1.
 
-=item -f
+=item -f I<sudoers>
 
 Specify and alternate I<sudoers> file location.  With this option
 B<visudo> will edit (or check) the I<sudoers> file of your choice,
@@ -108,8 +108,8 @@ and exit.
 
 =head1 ENVIRONMENT
 
-The following environment variables are used only if B<visudo>
-was configured with the I<--with-env-editor> option:
+The following environment variables may be consulted depending on
+the value of the I<editor> and I<env_editor> I<sudoers> variables:
 
 =over 16