Also check this on how to compile and install pam_slurm_adopt.

https://github.com/prod-feng/compile-and-setup-pam_slurm_adopt.so-module


Stop pam_systemd is also important(or stop system-login) in pam model files on the compute nodes:

###### -session     optional      pam_systemd.so

Best,

Feng


On Thu, Apr 9, 2026 at 12:09 AM Ratnasamy, Fritz via slurm-users <slurm-users@lists.schedmd.com> wrote:
Hi, 

 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?
I usually request an interactive session of 2GB. I then open another terminal and ssh to the node where the interactive session runs. I allocated a 4GB R variable on the node where I just ssh but this does not error out. 
Additionally, if I end my interactive session, the ssh connection still lives which I believe should not happen. 
Best,

Fritz Ratnasamy
Data Scientist
Information Technology



--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com