Can I run sudo by passing

MUSTAFA.CAYCI MUSTAFA.CAYCI at oracle.com
Thu Oct 25 11:58:02 EDT 2001


I am trying to run sudo in a shell script as such:

sudo httpdsctl startall <<EOF
password
EOF

It is still asking me to enter the password and ignoring the password in pipe.  Can this be done?

Thanks,

Mustafa



More information about the sudo-users mailing list