I'm in a bit of trouble and need to run a linux command as sudo using php. Is this possible using php's exec()? I've tried but cannot enter the sudo password and then execute another command on the same exec() call.edit: i cannot access the server remotely via ssh due to own stupidity. That's why i have to run commands thru the web server.