tamray_tech
asked on
Need assistance running PHP EXEC as local user on Ubuntu
I know there are a number of ways to do this, but looking for something very simple to do.
I need to launch the following vlc script via PHP & EXEC, as a local user. I currently can run it as www-data, but I need to launch it with a user that has a home directory.
vlc -I dummy dvb:// :dvb-adapter=0 --sout '#standard{access=http,mux =ogg,dst=1 0.10.1.83: 8181}'
I need to launch the following vlc script via PHP & EXEC, as a local user. I currently can run it as www-data, but I need to launch it with a user that has a home directory.
vlc -I dummy dvb:// :dvb-adapter=0 --sout '#standard{access=http,mux
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I don't believe there is another option. Apache runs under a very limited user on purpose. suEXEC is the way to change that.
ASKER
I implemented Suexec-common on Ubuntu and achieved the results I was looking for. No need to recompile, just configure and activate.
Thanks
Thanks
You're welcome, glad to help, and thanks for the points.
ASKER