On 9/21/21 9:11 AM, Amjad Syed wrote:
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

I believe that Slurm creates users in the database using the primary UNIX group name. Slurm would not know about any secondary UNIX groups.

There must be a uniform user and group name space (including UIDs and GIDs) across the cluster. It is your own responsibility to configure users and groups in the passwd and group databases consistently, see https://slurm.schedmd.com/quickstart_admin.html (search for GIDs).

FWIW, I have some information about creation of users and groups in this Wiki page:
https://wiki.fysik.dtu.dk/niflheim/Slurm_accounting#create-accounts-and-users

/Ole


Reply via email to