diff --git a/m/module/slurm-common.nix b/m/module/slurm-common.nix index 70dbf6cf..fae4b23d 100644 --- a/m/module/slurm-common.nix +++ b/m/module/slurm-common.nix @@ -54,6 +54,11 @@ LaunchParameters=use_interactive_step SlurmdDebug=debug5 #DebugFlags=Protocol,Cgroup + + # Follow PAM rules for users requesting access to a node via SLURM, so + # that the need to have a local account. Otherwise SLURM only takes into + # account the credentials at the login node. + UsePAM=1 ''; extraCgroupConfig = ''