From 1ae60a55771efb7a7aa2879d55f0edad173c1c8a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 7 Aug 2007 00:37:44 +0000 Subject: [PATCH] Adjust list indents Prevent -- from being turned into an em dash Use a list for the environment instead of a literal paragraph --- sudo.pod | 70 +++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 46 insertions(+), 24 deletions(-) diff --git a/sudo.pod b/sudo.pod index df133a730..6325ba4e2 100644 --- a/sudo.pod +++ b/sudo.pod @@ -147,7 +147,7 @@ of a command, the string "sudoedit" is used when consulting the I file. If the user is authorized by I the following steps are taken: -=over 8 +=over 4 =item 1. @@ -241,7 +241,7 @@ The B<-p> (I) option allows you to override the default password prompt and use a custom one. The following percent (`C<%>') escapes are supported: -=over 8 +=over 4 =item C<%H> @@ -313,7 +313,7 @@ a command. =item -- -The B<--> flag indicates that B should stop processing command +The C<--> flag indicates that B should stop processing command line arguments. It is most useful in conjunction with the B<-s> flag. =back @@ -420,44 +420,66 @@ L. B utilizes the following environment variables: - EDITOR Default editor to use in -e (sudoedit) mode if - VISUAL is not set +=over 16 + +=item C + +Default editor to use in B<-e> (sudoedit) mode if C is not set + +=item C + +In B<-s> or B<-H> mode (or if sudo was configured with the +--enable-shell-sets-home option), set to homedir of the target user + +=item C + +Set to a sane value if sudo was configured with the --with-secure-path option + +=item C - HOME In -s or -H mode (or if sudo was configured with - the --enable-shell-sets-home option), set to - homedir of the target user +Used to determine shell to run with C<-s> option - PATH Set to a sane value if sudo was configured with - the --with-secure-path option +=item C - SHELL Used to determine shell to run with -s option +Used as the default password prompt - SUDO_PROMPT Used as the default password prompt +=item C - SUDO_COMMAND Set to the command run by sudo +Set to the command run by sudo - SUDO_USER Set to the login of the user who invoked sudo +=item C - SUDO_UID Set to the uid of the user who invoked sudo +Set to the login of the user who invoked sudo - SUDO_GID Set to the gid of the user who invoked sudo +=item C - SUDO_PS1 If set, PS1 will be set to its value +Set to the uid of the user who invoked sudo - USER Set to the target user (root unless the -u option - is specified) +=item C - VISUAL Default editor to use in -e (sudoedit) mode +Set to the gid of the user who invoked sudo + +=item C + +If set, C will be set to its value + +=item C + +Set to the target user (root unless the B<-u> option is specified) + +=item C + +Default editor to use in B<-e> (sudoedit) mode + +=back =head1 FILES =over 4 -=item F<@sysconfdir@/sudoers>C< > -List of who can run what +=item F<@sysconfdir@/sudoers>C< >List of who can run what -=item F<@timedir@>C< > -Directory containing timestamps +=item F<@timedir@>C< >Directory containing timestamps =back -- 2.40.0