[slurm-users] Re: pam_slurm_adopt ambiguity in instructions and with ssd

2025-04-21 Thread Robert Kudyba via slurm-users
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

[slurm-users] Re: pam_slurm_adopt ambiguity in instructions and with ssd

2025-04-19 Thread Ole Holm Nielsen via slurm-users
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

[slurm-users] Re: pam_slurm_adopt ambiguity in instructions and with ssd

2025-04-18 Thread Robert Kudyba via slurm-users
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

[slurm-users] Re: pam_slurm_adopt ambiguity in instructions and with ssd

2025-04-18 Thread Massimo Sgaravatto via slurm-users
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: >

[slurm-users] Re: pam_slurm_adopt ambiguity in instructions and with ssd

2025-04-18 Thread Ole Holm Nielsen via slurm-users
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