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.
What about if the apache script writes a small file in /tmp/matlab/ directory and the
user process is looking at that directory every 30 seconds. If the user script sees
the file, reads it, gets params from the file and run. It drops the plot into a
directory apache can read.
Cludgy but I'm sure that would work.
Mike
--
Michael Lake
Science Faculty, UTS
Ph: 9514 8232 Fx: 9514 1460
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html