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