SchedMD confirms it's pam_sss denying the user:
> Apr 18 12:31:26 node11 sshd[57358]: pam_sss(sshd:account): Access denied
for user user: 6 (Permission denied)
Which is included through:
> -- /etc/pam.d/sshd --
> accountinclude system-auth
> -- /etc/pam.d/system-auth
> account[default=bad
Hi Robert,
The pam_slurm_adopt has worked well and without bugs for many Slurm
versions in the past. You should make sure to follow carefully the
instructions in the mentioned wiki page, however.
What is your Slurm version and OS version?
Did you try a different username than "user"?
/Ole
Thanks Ole and Massimo, I definitely do not have UsePAM=1 in slurm.conf. I
commented out pam_systemd here:
grep pam_systemd *
fingerprint-auth:-session optional pam_systemd.so
fingerprint-auth-ac:-session optional pam_systemd.so
password-auth:#-session optional pam_system
Hi
Did you disable the pam_systemd.so also from the module files included by
the sshd pam file ?
I am asking because I had this problem when I configured the
pam_slurm_adopt
Cheers, Massimo
On Fri, Apr 18, 2025 at 5:28 PM Robert Kudyba via slurm-users <
slurm-users@lists.schedmd.com> wrote:
>
Hi Robert,
The explicit configuration details of pam_slurm_adopt are described in
this Wiki page:
https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_configuration/#pam-module-restrictions
Important: DO NOT configure UsePAM=1 in slurm.conf! The advice for
UsePAM=1 this may be found on the intern