[slurm-users] Finding / compiling "pam_slurm.so" for Ubuntu 16.04
wdennis at nec-labs.com
Thu May 3 21:06:49 MDT 2018
Back a year ago or so, I started a new SLURM cluster, and had produced a .deb file from the then-current release archive (v16.05.4) that I compiled on a U16.04 host. I have successfully used that .deb which I included in our local custom repo to roll out the compute nodes of my cluster (which also run U16.04 of course.) For what we have tried to do with it, it all appears to work well.
Now I am attempting to restrict users from logging into the compute nodes via the “pam_slurm” module as described at https://raw.githubusercontent.com/SchedMD/slurm/5505db3a5076bfc301dba16e83fbc133e833cbd4/contribs/pam/README. I put the following lines in the /etc/pam.d/sshd file at the bottom:
account sufficient pam_succeed_if.so user ingroup SYSOPS
account required pam_slurm.so
Unfortunately, I got a report that my users can not log into the compute nodes even when they have a job scheduled on the node. I came to find out that although I have many .so files from my .deb package all in /usr/lib/x86_64-linux-gnu/slurm, pam_slurm.so is not one of them... My question is, where could I acquire the proper pam_slurm.so shared lib file for U16.04, or, otherwise, how to compile it?
Sr. Systems Administrator,
NEC Laboratories America
More information about the slurm-users