Page History
- 2012-Nov-13 15:59 adesmet
- 2009-May-08 11:49 savage
- 2009-May-05 10:47 savage
- 2009-May-04 15:19 savage
How to ban a user from submitting jobs
Known to work with Condor version: 7.0
Suppose a user is submitting jobs that are causing problems (like crashing machines) and you need to temporarily block the user until you can talk with them and solve the problem.
How to ban a user from submitting jobs
Add the following to the submit machine configuration:
DENY_WRITE = dan@hep.wisc.edu/*
Then run <code>condor_reconfig -full <submit machine name></code>. You might need to run that from the central manager if only the central manager is allowed to run administrative commands in your Condor pool. To verify that this configuration setting was successfully processed, query the schedd:
condor_config_val -schedd DENY_WRITE {code} {subsection: How to ban a user from joining the pool} If you do not control the submit machine, you could block the user from advertising to the pool collector. Use {code}condor_status -submitters
condor_reconfig
IsBannedSubmitter = MyType == "Submitter" && Name == "dan@hep.wisc.edu" COLLECTOR_REQUIREMENTS = ($(IsBannedSubmitter)) == False
How to ban a user from executing jobs on specific machines
If you just want to ban a user from submitting to some but not all machines, you could do that in the execute machine configuration:
IsBannedUser = User =?= "dan@hep.wisc.edu" START = ($(START)) && ( ($(IsBannedUser)) == FALSE )
Run
condor_reconfig -all