How to bypass entering password using sudo su - oracle "-c /usr/l ocal/bin/test/whoisit.ksh"

Todd C. Miller Todd.Miller at courtesan.com
Thu Feb 5 21:26:09 EST 2004


The problem is that the shell is interpreting the double quotes for
you and so they are not passed to sudo at all.  If you escape the
quotes from the shell it will work.

Ie:
    sudo /usr/bin/su - oracle \"-c /usr/local/bin/test/whoisit.ksh\"

 - todd



More information about the sudo-users mailing list