| Summary: | What is the command to disable a user account from submitting jobs | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | UAB Research Computing <RC_LICENSES> |
| Component: | User Commands | Assignee: | Tim Wickberg <tim> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | ||
| Version: | 16.05.8 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | UAB | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | Target Release: | --- | |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
|
Description
UAB Research Computing
2017-01-25 10:13:58 MST
There's no user-specific blocklist like xuser_lists in Slurm. A quick way to block their jobs from running: 'sacctmgr update user tim set maxjobs=0' They'll still be queued, but none can run until that's lifted. You could 'scancel -u tim' to clear all their jobs, and to lift the restriction run 'sacctmgr update user tim set maxjobs=-1'. Perfect, Thanks. For some reason I was convinced 'scontrol' was the command I needed. I just remembered that setting the 'maxsubmitjobs=0' limit would be even better; it'd prevent anything from being queued. For future requests, can you please spend a few minutes consulting the documentation? While we try to answer all questions, this doesn't strictly fall under our "Level 3" support model, and take me away from resolving other issues. (https://www.schedmd.com/support.php) cheers, - Tim |