search for: slurm_job_id

Displaying 1 result from an estimated 1 matches for "slurm_job_id".

2013 Oct 14
1
Provide AcceptEnv variables to a Linux PAM module?
...y implications to passing arbitrary variables through to PAM but is there some other way I can do so? The reason I ask is because I'm working with the SLURM resource manager to monitor remote processes launched via ssh. It's not perfect, but I'm using SendEnv and AcceptEnv to pass $SLURM_JOB_ID around. I want to run a pam module or script that assigns sshd and its children to a particular cgroup (based on $SLURM_JOB_ID) using a slurm API call. The best solution I have found seems to be calling a script from /etc/ssh/sshrc as the user (which can be negated by users creating ~/.sshrc...