You could use sacctmgr command to set a limit on the user ( like 
MaxSubmitJobs=0).

Something like
sacctmgr modify user name=USERNAME set maxsubmitjobs=0

Set maxsubmitjobs=-1 to clear when wish to unlock

On Thu, 31 Aug 2017, Colas Rivi?re wrote:

Hello,

I contacted a user about some issues with his jobs and would like to lock his account until he gets back to me. Is it possible to prevent a user from submitting new jobs, or prevent the user future jobs to be scheduled? I already held his queued jobs and suspended the running ones (with `scontrol hold` and `scontrol suspend`), but am concerned about new ones.
Or is there a better way to handle this?

Thanks,
Colas


Tom Payerle
DIT-ACIGS/Mid-Atlantic Crossroads       [email protected]
5825 University Research Court          (301) 405-6135
University of Maryland
College Park, MD 20740-3831

Reply via email to