[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

[slurm-users] Setting QoS with slurm 24.05.7

2025-04-18 Thread Patrick Begou via slurm-users
Hi all, I'm trying to setup a QoS on a small 5 nodes cluster running slurm 24.05.7. My goal is to limit the resources on a (time x number of cores) strategy to avoid one large job requesting all the resources for too long time. I've read from https://slurm.schedmd.com/qos.html and some discus

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

2025-04-18 Thread Robert Kudyba via slurm-users
In the instructions for pam_slurm_adopt , there are instructions such as: > > Add the following line to the appropriate file in /etc/pam.d, such as > system-auth or sshd (you may use either the "required" or "sufficient" > PAM control flag)

[slurm-users] Re: Setting QoS with slurm 24.05.7

2025-04-18 Thread Michael Gutteridge via slurm-users
Hi I think you want one of the "MaxTRESMins*" options: MaxTRESMins=TRES=[,TRES=,...] MaxTRESMinsPJ=TRES=[,TRES=,...] MaxTRESMinsPerJob=TRES=[,TRES=,...] Maximum number of TRES minutes each job is able to use in this association. This is overridden if set directly on a user. Default is the cluster