[sudo-users] Sudo 1.6.8p12

Cliff Nadler cnadler at mti.com
Fri Jan 12 11:20:13 EST 2007

Shell escape processing would happen before sudo is called, so the $HOME
is being processed by the shell before it calls sudo.

Try putting $HOME in single quotes, or change the $ to \$

On Fri, 2007-01-12 at 10:45 -0500, Buffum, Charles wrote:
> I have a question on this version - I pulled down this version from the
> web, configured and installed it on a our development machine which is
> running AIX
> The configure was run as this: 
> ./configure --enable-shell-sets-home --enable-log-host   
> I set up my sudoers file and tested, the sudo.log shows the entry for
> the host as in the (--enable-log-host) entry above however the
> --enable-shell-sets-home does not seem to work.
> I tested this vi doing the following:  sudo -u oracle8 echo $HOME
> Jan 11 15:54:11 : cbuffum : HOST=tblusr02 : TTY=pts/0 ;
> PWD=/var/adm/sudo/sudo-1.6.8p12 ; USER=oracle8 ; COMMAND=/usr/bin/ksh
> print
> /home/cbuffum
> I was assuming that this should show me the oracle8 home path, it did
> not, it returned my home path - is there something I have missed? Is
> there more to it than just the entry at the time configure is run? Some
> entry needed in the sudoers file? I have tried several attempts to get
> this to work and check the web for pieces I may have missed.
> Any information will be appreciated,
> Thanks - Charlie 
> ____________________________________________________________ 
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
Cliff Nadler  |  Senior DBA
Services Division - MTI Technology Corporation
voice: 512-263-5500  |  fax: 512-263-0606  
web: www.mti.com

More information about the sudo-users mailing list