summaryrefslogtreecommitdiff
path: root/sudo.pod
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>1996-08-30 04:24:21 +0000
committerTodd C. Miller <Todd.Miller@courtesan.com>1996-08-30 04:24:21 +0000
commitd8c2d189809ad20fc51fb7afbd1ba35d5aeefd3c (patch)
tree516ab8f50f225e5f3c8a69be26c354283b12d202 /sudo.pod
parent0c731333a1e3e0b4541dd6339c8bde088bda246e (diff)
downloadsudo-d8c2d189809ad20fc51fb7afbd1ba35d5aeefd3c.tar.gz
documented %u and %h
Diffstat (limited to 'sudo.pod')
-rw-r--r--sudo.pod6
1 files changed, 5 insertions, 1 deletions
diff --git a/sudo.pod b/sudo.pod
index 65c6345f9..c9b4cdd5d 100644
--- a/sudo.pod
+++ b/sudo.pod
@@ -79,7 +79,10 @@ option you cannot use shell job control to manipulate the command.
=item -p
The C<-p> (I<prompt>) option allows you to override the default
-password prompt and use a custom one.
+password prompt and use a custom one. If the password prompt
+contains the C<%u> escape, C<%u> will be replaced by the user's
+login name. Similarly, C<%h> will be replaced by the local
+hostname.
=item -u
@@ -171,6 +174,7 @@ date.
PATH Set to a sane value if SECURE_PATH is set
SHELL Used to determine shell to run with -s option
HOME In -s mode, set to homedir of root (or runas user)
+ if built with the SHELL_SETS_HOME option.
SUDO_COMMAND Set to the command run by sudo
SUDO_USER Set to the login of the user who invoked sudo
SUDO_UID Set to the uid of the user who invoked sudo