documented %u and %h
This commit is contained in:
6
sudo.pod
6
sudo.pod
@@ -79,7 +79,10 @@ option you cannot use shell job control to manipulate the command.
|
|||||||
=item -p
|
=item -p
|
||||||
|
|
||||||
The C<-p> (I<prompt>) option allows you to override the default
|
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
|
=item -u
|
||||||
|
|
||||||
@@ -171,6 +174,7 @@ date.
|
|||||||
PATH Set to a sane value if SECURE_PATH is set
|
PATH Set to a sane value if SECURE_PATH is set
|
||||||
SHELL Used to determine shell to run with -s option
|
SHELL Used to determine shell to run with -s option
|
||||||
HOME In -s mode, set to homedir of root (or runas user)
|
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_COMMAND Set to the command run by sudo
|
||||||
SUDO_USER Set to the login of the user who invoked 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
|
SUDO_UID Set to the uid of the user who invoked sudo
|
||||||
|
Reference in New Issue
Block a user