[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] How to ban user



Senthil,

Does the User attribute in the job match the string you are comparing it to in IsBannedUser?

The name after the '@' sign is not necessarily the submit machine name.  It is the UID domain being used by the submit machine.

--Dan

On 1/25/11 1:47 PM, Natarajan, Senthil wrote:

Hi,

I am trying to ban one particular user (userX@xxxxxxxxxxxxxx) running jobs on one execute machine (machineX)

By following the instruction "How to ban a user from executing jobs on specific machines

" in https://condor-wiki.cs.wisc.edu/index.cgi/wiki?p=HowToBanUser

 

I have following in condor_config.local on machineX (restarted condor_master)

 

IsBannedUser = User =?= "userX@xxxxxxxxxxxxxx"

#START = ($(START)) && ( ($(IsBannedUser)) == FALSE )

 

Since the above is not working now I have

START = ($(START)) && ( ($(IsBannedUser)) == FALSE ) && (User != userX@xxxxxxxxxxxxxx)

 

But still the jobs from userX@xxxxxxxxxxxxxx is running on the machine (machineX).

 

I have following condor version.

$CondorVersion: 7.4.2 Mar 29 2010 BuildID: 227044 $

$CondorPlatform: X86_64-LINUX_RHEL5 $

 

Could you please let me know how to ban a user (userX@xxxxxxxxxxxxxx) from executing jobs on specific machine (machineX)

 

Thanks,

Senthil

_______________________________________________ Condor-users mailing list To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a subject: Unsubscribe You can also unsubscribe by visiting https://lists.cs.wisc.edu/mailman/listinfo/condor-users The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/