To add on to this, the way we handle "disabled pam_systemd in your PAM configuration" on our cluster is to disable/mask the systemd-logind service on the compute nodes. Not sure if there's a more elegant way to handle that. Keith -----Original Message----- From: Lambers, Martin via slurm-users <slurm-users@lists.schedmd.com> Sent: Wednesday, April 8, 2026 10:11 PM To: slurm-users@lists.schedmd.com Subject: [slurm-users] Re: pam_slurm_adopt Hi Fritz, On 4/9/26 05:44, Ratnasamy, Fritz via slurm-users wrote:
We have blocked ssh to nodes where users do not have a running job. However, when there is a running job, a user can ssh to that node and use more than the slurm resources allocated on that node. Am I missing something?
Did you disable pam_systemd in your PAM configuration? It is incompatible with pam_slurm_adopt. Best, Martin -- Dr. habil. Martin Lambers Forschung und Wissenschaftliche Informationsversorgung IT.SERVICES Ruhr-Universität Bochum | 44780 Bochum | Germany https://www.it-services.rub.de/