Hi! I tried it (I normally would use sacct and ssh) but even with "srun bash --login" the "id" command gives me all groups. And we are using rfc2307bis.
And I don't think that slurm stores any group information. So it seems to be the way the session starts on your node. But at this point no idea where to look. best regards ----- Ursprüngliche Mail ----- > Von: "Amjad Syed" <amjad...@gmail.com> > An: slurm-us...@schedmd.com > Gesendet: Dienstag, 21. September 2021 09:11:33 > Betreff: [slurm-users] Secondary Unix group id of users not being issued in > interactive srun command > Hello all > > We have users who have have defined unix secondary id on our login nodes. > > vas20xhu@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@c0077 ~]$ groups > > BIO_pg > > > This is our interactive script > > > alias interactive='srun -n1 -p interactive -J interactive --time=12:00:00 > --mem-per-cpu=4G --pty bash --login' > > /usr/bin/srun > > > > When we ssh directly into node without using interactive script there are > no issues with groups. > > > Anything we are missing in that interactive script? > > > Amjad
smime.p7s
Description: S/MIME Cryptographic Signature