[Bioclusters] Submitting SGE jobs as nobody

Farul Mohd. Ghazali bioclusters@bioinformatics.org
Wed, 29 Oct 2003 20:51:33 +0800 (MYT)


On Wed, 29 Oct 2003, david speed (RI) wrote:

> Any help in identifying / resolving the problem so that user nobody
> jobs are submitted as expected without any weirdness will be
> appreciated

Hi David,

We had issues with submitting jobs as nobody as well, although I can't
recall the exact error message I got while testing it. I assume your
directory and file permissions are correct for nobody to use ie. within
the SGE_ROOT hierarchy and of course where the script lives. As mentioned
earlier, one way of doing this is to setuid root for qsub although I'm not
sure of any possible security problems this may cause.

For us, we decided to skip the whole submission by user nobody and
submitted as a regular user using various methods of shell scripts and
crontabs from a PHP web page. This allowed proper access to the users'
directories as well as some user accounting.

If you're interested in looking at an alternative way of doing it, drop me
a line.

farul ghazali