<div dir="auto">Append ‘log_level=debug5’ to the pam_slurm_adopt line in system-auth, restart sshd, try a new job and ssh session. then check log message in /var/log/secure...</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 23, 2020 at 9:04 PM Paul Raines <<a href="mailto:raines@nmr.mgh.harvard.edu">raines@nmr.mgh.harvard.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I am running Slurm 20.02.3 on CentOS 7 systems. I have pam_slurm_adopt<br>
setup in /etc/pam.d/system-auth and slurm.conf has PrologFlags=Contain,X11<br>
I also have masked systemd-logind<br>
<br>
But pam_slurm_adopt always denies login with "Access denied by <br>
pam_slurm_adopt: you have no active jobs on this node" even when the<br>
user most definitely has a job running on the node via srun<br>
<br>
Any clues as to why pam_slurm_adopt thinks there is no job?<br>
<br>
serena [raines] squeue<br>
JOBID PARTITION NAME USER ST TIME NODES <br>
NODELIST(REASON)<br>
785 lcnrtx tcsh raines R 19:44:51 1 rtx-03<br>
serena [raines] ssh rtx-03<br>
Access denied by pam_slurm_adopt: you have no active jobs on this node<br>
Authentication failed.<br>
<br>
<br>
</blockquote></div></div>