From 031b00921934bad61419937e2c9f5340ff0b2063 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 13 Nov 2001 00:19:29 +0000 Subject: [PATCH] Mention that -V prints default values when run as root, including the list of environment variables to clear. --- sudo.pod | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sudo.pod b/sudo.pod index cf3ae8605..f5298a778 100644 --- a/sudo.pod +++ b/sudo.pod @@ -88,7 +88,9 @@ B accepts the following command line options: =item -V The B<-V> (I) option causes B to print the -version number and exit. +version number and exit. If the invoking user is already root +the B<-V> option will print out a list of the defaults B +was compiled with as well as the machine's local network addresses. =item -l @@ -226,7 +228,9 @@ C variable is set and is a pathname, it too is ignored. Additionally, if the C or C variables contain the C or C<%> characters, they are ignored. If B has been compiled with SecurID support, the C, C and -C variables are cleared as well. +C variables are cleared as well. The list of environment +variables that B clears is contained in the output of +C when run as root. To prevent command spoofing, B checks "." and "" (both denoting current directory) last when searching for a command in the user's -- 2.40.0