for your interest:
In Fedora Core 6 there is by default a special setting in the sudo config file. This switch has to be changed if you want to use sudo in php scripts.
" and search for
I commented this out (with a #) and everything worked fine.
Apparenly Fedora Core 6 is the only OS that has the setting and it's very hard to find/ guess good search terms to find any info about this switch. That's why i'd like to add some more key words here for others experiencing the same problem:
- $go_info["server"]["sudo_du_enabled"] = true;
- sudo: sorry, you must have a tty to run sudo
- FC6 Fedora 6