Hi,

Am 27.03.2012 um 17:23 schrieb Joseph Norris:

> We have groups of students that use our cluster with a faculty member 
> responsible for the guidance and training of these students.  We need to 
> configure sge in such a way that a particular user can be responsible for a 
> group of users - with the ability  to see and/or delete the jobs that they 
> have streamed.
> 
> Is this possible with sge?  How can this be configured?

well, not in such a fine granulated way.

Everyone can see other users jobs, the designated user in question could add -u 
* into his personal ~/.sge_qstat file. But then he will see all users, not just 
the group. The way to go would be to add a list of users there:

-u foo,bar,foobar

You could make this user a manager for the deletion of jobs, but then he could 
kill everyones jobs, not just the students ones. There is no "manager for 
certain users".

A way around: use /etc/sudoers to allow this user to execute a `qdel` under 
each student's account (and only `qdel`).

faculty   ALL = (student1) NOPASSWD: /usr/sge/bin/lx24-amd64/qdel
...

He then has to execute:

sudo -u student1 qdel ...

-- Reuti

> Thank you for your help.
> 
> -- 
> Joseph Norris   Applications Developer/Server Administrator
> University of California Merced - School of Natural Science
> 209-201-3410
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to