Hi, yes. We are using this ansible role to configure PAM for slurm:
https://github.com/jabl/ansible-role-pam // Johan ----- Original Message ----- > From: "Ole Holm Nielsen" <ole.h.niel...@fysik.dtu.dk> > To: "slurm-dev" <slurm-dev@schedmd.com> > Sent: Monday, July 18, 2016 11:42:04 AM > Subject: [slurm-dev] How to configure PAM with SLURM on CentOS 7? > 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