Install libpam-slurm by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-slurm
PAM module to authenticate using the SLURM resource manager
Pluggable Authentication Module (PAM) for restricting access to compute nodes where SLURM performs resource management. Access to the node is restricted to user root and users who have been allocated resources on that node.