From c69ec34c1e413864c2da9d1739b833705e0e0e69 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 17 Mar 2026 18:44:30 +0100 Subject: [PATCH] Set UsePAM=1 in slurm.conf Fixes: https://jungle.bsc.es/git/rarias/jungle/issues/245 --- m/module/slurm-common.nix | 5 +++++ 1 file changed, 5 insertions(+) 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 = '' -- 2.51.2