Thanks for the hint. I wasn't aware of UsePAM. At first it looks
tempting, but then I read some bug reports and saw that it's an
"alternative way of enforcing resource limits" and is considered an
"older deprecated functionality".
https://bugs.schedmd.com/show_bug.cgi?id=4098
That doesn't sound too good.
I noticed that I can get a session keyring in an interactive job when I
run "srun --pty keyctl session". That works for my tasks (putting cifs
credentials there), but now I have to find out how to use this in batch
jobs.
Matthias
Am 24.08.22 um 10:43 schrieb Yair Yarom:
> Hi,
>
> I think you should look at pam_keyinit and add it to the slurm pam (the
> one used with the UsePAM configuration).
> We currently don't do this, but it's on the todo list to check it out...
> (so I'm not sure if it will work, or if it's the right way to do this).
>
>
> On Tue, 23 Aug 2022 at 16:36, Matthias Leopold
> <
matthias...@meduniwien.ac.at
> // \ |
ir...@cs.huji.ac.il <mailto:
ir...@cs.huji.ac.il>
> // |
>
--
Matthias Leopold
IT Systems & Communications
Medizinische Universität Wien
Spitalgasse 23 / BT 88 / Ebene 00
A-1090 Wien
Tel:
+43 1 40160-21241
Fax:
+43 1 40160-921200