[torqueusers] Apache/PHP based job submission portal
Nate.A.Woody at runbox.com
Thu May 29 17:25:47 MDT 2008
Another alternative is to use the -u (http://www.clusterresources.com/torquedocs21/commands/qsub.shtml) argument in the job submission to cause the job to run as another user. You'll need to muck with .rhosts to get this to work, and there are security implications. http://www.clusterresources.com/torquedocs21/1.3advconfig.shtml#jobsubmithosts is some more information on setting that up. I've used this in the past for webservices that submit jobs. It works fine and is trivial to setup, you just have to decide if you're willing to bite the security bullet or not.
----- Start Original Message -----
Sent: Thu, 29 May 2008 18:10:54 -0400
From: Prakash Velayutham <Prakash.Velayutham at cchmc.org>
To: torqueusers <torqueusers at supercluster.org>,
mauiusers at supercluster.org
Subject: [torqueusers] Apache/PHP based job submission portal
> Hi All,
> This is not a Torque or Maui question, but I am very positive that
> some of the bright guys here have this already setup in some form or
> the other.
> We have a PHP-based web application which has a compute portion which
> we want to ship out to our compute cluster. Also, the PHP application
> is secure, meaning, only authenticated users can submit jobs.
> My question is, how can I make the submitted jobs run as the logged in
> user and not the generic Apache user (wwwrun or www or somebody else
> based on the distro)?
> Prakash Velayutham
> Programmer / Analyst
> Cincinnati Children's Hospital Medical Center
> torqueusers mailing list
> torqueusers at supercluster.org
----- End Original Message -----
More information about the torqueusers