Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Question about CGI scripts

Name: Anonymous 2010-12-14 6:33

Is it possible to have a cgi script run arbitrary commands? For example have the script run "aumix -v+5" to increase the volume on the machine it's running on.

The idea is to have a web page on a web sever running on my linux box that I can use to control the volume, play/pause music, etc. Then I could use my phone to navigate to that page and sort of use it as a remote for the PC. The phone doesn't have wifi so I can't just use ssh to log into my comp and do it that way.

Name: Anonymous 2010-12-14 6:49

>>2
Yes, but that's not the issue.

You will have to give permissions to the 'nobody' user for everything you want to run. This is dangerous. You can still use SSH if your phone has a client.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List