Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] accounting groups question
- Date: Wed, 24 Feb 2010 08:40:10 -0500
- From: Matthew Farrellee <matt@xxxxxxxxxx>
- Subject: Re: [Condor-users] accounting groups question
On 02/24/2010 08:02 AM, Mag Gam wrote:
> We us accounting groups to place quotas on about 300 members of our
> research staff. I was wondering if there is a way to prevent a user
> from using another group's quota in their submit file. Also, do
> accounting groups support wild cards, like:
>
> *@mich.edu=25
>
> This will let anyone from mich.edu domain run only 25 jobs?
>
>
> TIA
You have to control access to condor_submit if you want to control setting AccountingGroup.
mv condor_submit condor_submit.sto
cat >> condor_submit << EOF
#!/bin/sh
condor_submit $* -a +AccountingGroup="$(special_lookup $USER)"
EOF
Of course, the clever user will just call condor_submit.sto, and to those users you enact social policy. Compare AccountingGroup vs Owner on jobs in the queue or history file and track people down.
*@mich.edu isn't a valid AccountingGroup. You set the AccountingGroup to mich_edu.user at submit time for all your @mich.edu users.
Best,
matt