From: Todd C. Miller Date: Mon, 7 Oct 1996 04:59:08 +0000 (+0000) Subject: added -H and SUDO_PS1 X-Git-Tag: SUDO_1_5_2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0df08805e0679f51e6c11eb3f10812ea9b729208;p=sudo added -H and SUDO_PS1 --- diff --git a/sudo.pod b/sudo.pod index 48f7cbfbe..e4fd3eb8c 100644 --- a/sudo.pod +++ b/sudo.pod @@ -8,8 +8,8 @@ sudo - execute a command as the superuser =head1 SYNOPSIS -B B<-V> | B<-h> | B<-l> | B<-v> | B<-k> | B<-s> | [ B<-b> ] -[ B<-p> prompt ] [ B<-u> username/#uid] I +B B<-V> | B<-h> | B<-l> | B<-v> | B<-k> | B<-s> | B<-H> | +[ B<-b> ] | [ B<-p> prompt ] [ B<-u> username/#uid] I =head1 DESCRIPTION @@ -96,6 +96,12 @@ The C<-s> (I) option runs the shell specified by the I environmental variable if it is set or the shell as specified in passwd(5). +=item -H + +The C<-H> (I) option sets the I environmental variable +to the homedir of the target user (root by default) as specified +in passwd(5). + =item -- The C<--> flag indicates that B should stop processing command @@ -180,6 +186,7 @@ date. 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_GID Set to the gid of the user who invoked sudo + SUDO_PS1 If set, PS1 will be set to its value =head1 AUTHORS