The slurm-pam_slurm RPM package contains two shared libraries /lib64/security/pam_slurm*.so. The source files contrib/pam*/README have examples on configuring /etc/pam.d/system-auth. The public documentation http://slurm.schedmd.com/faq.html#pam seems of little use regarding the slurm-pam_slurm RPM package.
For CentOS/RHEL 7 the /etc/pam.d/system-auth file is controlled by the authconfig command, so it's really not transparent how to use PAM with SLURM on this system.
Question: Has anyone figured out how to configure PAM correctly on CentOS 7 for achieving the desired SLURM access restrictions on compute nodes?
Thanks, Ole -- Ole Holm Nielsen Department of Physics, Technical University of Denmark