Sean,

I was just about to mention this wasn't working because I had thought of 
something similar. I tried 'sacctmgr modify user where name=<user> set 
maxjobs=0' but that was still allowing the user to 'srun --pty bash'. 
Apparently doing it through modifying the account as you stated does work 
though which is odd. Just have to modify each account the user has access too.

Thanks.

Regards,

--
Willy Markuske

HPC Systems Engineer
SDSC - Research Data Services
(619) 519-4435
wmarku...@sdsc.edu

On May 25, 2023, at 16:32, Sean Crosby <scro...@unimelb.edu.au> wrote:

Hi Willy,

sacctmgr modify account slurmaccount user=baduser set maxjobs=0

Sean


________________________________
From: slurm-users 
<slurm-users-boun...@lists.schedmd.com<mailto:slurm-users-boun...@lists.schedmd.com>>
 on behalf of Markuske, William <wmarku...@sdsc.edu<mailto:wmarku...@sdsc.edu>>
Sent: Friday, 26 May 2023 09:16
To: slurm-users@lists.schedmd.com<mailto:slurm-users@lists.schedmd.com> 
<slurm-users@lists.schedmd.com<mailto:slurm-users@lists.schedmd.com>>
Subject: [EXT] [slurm-users] Temporary Stop User Submission

External email: Please exercise caution

________________________________
Hello,

I have a badly behaving user that I need to speak with and want to temporarily 
disable their ability to submit jobs. I know I can change their account 
settings to stop them. Is there another way to set a block on a specific 
username that I can lift later without removing the user/account associations?

Regards,

--
Willy Markuske

HPC Systems Engineer
SDSC - Research Data Services
(619) 519-4435
wmarku...@sdsc.edu<mailto:wmarku...@sdsc.edu>

Reply via email to