sudo requires a tty to run
Are you sure? My sudo (unmodified Slackware64-13.37, i.e. unmodified sudo-1.7.4p6) does not require a tty or an askpass helper program when configured that way.
You will not be able to run sudo on a crontab or cgi.
Well, my system allows sudo from CGI. The CGI user is explicitly allowed to invoke a selected program via sudo, without a password.
Alexander
In reply to Re^4: Calling a setuid script in a perl script
by afoken
in thread Perl Setuid - Oracle Password Hardcoding
by hmadhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |