ajanthaw at cc.pdn.ac.lk
Wed Nov 28 00:32:51 EST 2001
I have a problem in executing sudo command. I want to use it with PHP. So
the sudo command have to be run via the browser. But when I executing that
command( $filout="sudo -s less /home/test2.txt";
$fexec=exec($filout,$result );) it doesn't seems to be executing. That
file (test2.txt) is protected and and can be opened by the root only.
If anyone can give me an answer for this question , it will be a great
help for me.
More information about the sudo-users