Slurm - aancel/admin GitHub Wiki

Allow node access to people who have launched a job on them

  • Slurm can allow users access to nodes on which they submitted jobs by using the PAM library (cf. http://www.tuxradar.com/content/how-pam-works for more information)
    • To allow access to a node managed by slurm (using Ubuntu 14.04):
      • Install the pam package for slurm on the node you want to allow access: sudo apt-get install libpam-slurm
      • Modify the /etc/pam.d/common-auth file (for Ubuntu) and add the following line: account required /lib/security/pam_slurm.so (see /usr/share/doc/libpam-slurm/README for more d'information)
      • (Optional) Disable access restriction with ssh to the node AllowUsers ... dans /etc/ssh/sshd_conf