SLUG Mailing List Archives
[SLUG] Apache execute a CGI as another user
- To: slug@xxxxxxxxxxx
- Subject: [SLUG] Apache execute a CGI as another user
- From: Peter Rundle <prundle@xxxxxxxxxxxxxx>
- Date: Mon, 15 May 2006 10:14:56 +1000
- User-agent: Thunderbird 18.104.22.168 (X11/20060420)
I'm looking for suggestions/recommendations for a way to run a command as a specific user,
but triggered from a web form submit button. The corresponding action cgi runs as
apache/apache, but I then need it to trigger the running of a shell script as another
The reason is that I have some commercial software (Matlab) that must run as the user
'matlab' for licencing reasons. This software is used to generate a graphical plot. I want
to allow the web user to request an update to the plot.
Alternatively if anyone knows of a good FOSS alternative to Matlab which can read and run
matlab scripts (java syntax plus lots of libries) that maybe a "better" solution.