I don't know anything about it, but I know that PHP is capable of this. Probably java too, or python, or any number of others.
It sounds like the best thing to do is set up a web page that the users can access, with some basic fields: user, password, and a "run my script" button. With this input, a web-based script like PHP can run the command as the user directly on the server, without the need fo a SSH connection or the like.
I used a program called Music Player Daemon (MPD) on an old box with apache, and I was able to control the daemon's playlist, volume, song controls, etc via a PHP-scripted web interface. That was pretty complicated - you can try examining that source if you like, but it's probably far more than you need.
Unfortunately, I don't know anything about PHP or any other web-based language, so I can tell you it can be done, but not how to do it!
I'm sure there have to be tutorials/articles in the Programming forum, or on our good friend Google.
Cheers,
--Rounan
|