Skip to content
Snippets Groups Projects
Commit 42825a64 authored by Mark Grondona's avatar Mark Grondona
Browse files

Ensure slurmctld adopts SlurmUser GID as well as UID.

This patch abstracts the establishment of slurm user credentials
in slurmctld when SlurmUser != root. It adds a call to setgid()
to adopt the SLURM user's primary group, instead of running with
whatever primary group was in effect when invoking the slurmctld
executable. Also, errors in establishing user credentials are
fatal errors, instead of just warnings.

This is a minor security enhancement.
parent 9d49a381
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment