[slurm-users] pam_slurm_adopt always claims now active jobs even when they do

Wensheng Deng wd35 at nyu.edu
Sat Oct 24 03:12:56 UTC 2020


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...


On Fri, Oct 23, 2020 at 9:04 PM Paul Raines <raines at nmr.mgh.harvard.edu>
wrote:

>
> I am running Slurm 20.02.3 on CentOS 7 systems.  I have pam_slurm_adopt
> setup in /etc/pam.d/system-auth and slurm.conf has PrologFlags=Contain,X11
> I also have masked systemd-logind
>
> But pam_slurm_adopt always denies login with "Access denied by
> pam_slurm_adopt: you have no active jobs on this node" even when the
> user most definitely has a job running on the node via srun
>
> Any clues as to why pam_slurm_adopt thinks there is no job?
>
> serena [raines] squeue
>               JOBID PARTITION     NAME     USER ST       TIME  NODES
> NODELIST(REASON)
>                 785    lcnrtx     tcsh   raines  R   19:44:51      1 rtx-03
> serena [raines] ssh rtx-03
> Access denied by pam_slurm_adopt: you have no active jobs on this node
> Authentication failed.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20201023/1b33d187/attachment-0001.htm>


More information about the slurm-users mailing list