[slurm-users] Secondary Unix group id of users not being issued in interactive srun command

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Tue Sep 21 09:02:36 UTC 2021


Amjad Syed <amjadcsu at gmail.com> writes:

> We have users who have have defined unix secondary id on our login nodes.
>
> vas20xhu at login01 ~]$ groups
> BIO_pg BIO_AFMAKAY_LAB_USERS
>
> But when we run interactive  and go to compute node , the user does not
> have secondary  group of BIO_AFMAKAY_LAB_USERS
>
> vas20xhu at c0077 ~]$ groups
> BIO_pg

[...]
> When we ssh directly into node without using interactive script there are
> no issues  with groups.

Have you set up your Slurm to be NSS provider for user and group info?
I believe that will only send primary group to the job step processes.
See the enable_nss_slurm LaunchParameters in man slurm.conf, and the URL
in that description.

-- 
Regards,
Bjørn-Helge Mevik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210921/db233d41/attachment-0001.sig>


More information about the slurm-users mailing list