From 1994a37c6d5fb3765732ec478f02a0770fb681f5 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 6 Aug 2007 14:24:07 +0000 Subject: [PATCH] mention that when specifying a uid for the -u option the shell may require that the # be escaped --- sudo.pod | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 2.40.0