- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Apache execute a CGI as another user
- From: Michael Lake <Mike.Lake@xxxxxxxxxx>
- Date: Mon, 15 May 2006 11:19:02 +1000
- User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Peter Rundle wrote:
Sluggers,
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 unprivledged user.
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.
Octave. Available as an rpm or a deb. Reads and writes Matlab.
Mike
--
Michael Lake
Science Faculty, UTS
Ph: 9514 8232 Fx: 9514 1460