From: Todd C. Miller Date: Mon, 6 Aug 2007 14:24:07 +0000 (+0000) Subject: mention that when specifying a uid for the -u option the shell may require that the... X-Git-Tag: SUDO_1_7_0~451 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1994a37c6d5fb3765732ec478f02a0770fb681f5;p=sudo mention that when specifying a uid for the -u option the shell may require that the # be escaped --- diff --git a/sudo.pod b/sudo.pod index 464dda37f..df133a730 100644 --- a/sudo.pod +++ b/sudo.pod @@ -288,11 +288,13 @@ option. =item -u -The B<-u> (I) option causes B to run the specified command -as a user other than I. To specify a I instead of a -I, use I<#uid>. Note that if the I Defaults -option is set (see L) it is not possible -to run commands with a uid not listed in the password database. +The B<-u> (I) option causes B to run the specified +command as a user other than I. To specify a I instead +of a I, use I<#uid>. When running commands as a I, +many shells require that the '#' be escaped with a backslash ('\'). +Note that if the I Defaults option is set (see L) +it is not possible to run commands with a uid not listed in the +password database. =item -V