[slurm-users] Why SlurmUser is set to slurm by default?

Douglas Jacobsen dmjacobsen at lbl.gov
Fri May 25 04:18:27 MDT 2018

SlurmUser == root also has implications for strigger.  It allows any user
to set slurmctld executed striggers.  This can be OK, or not, depending on
your use cases and user community.  User-specified strigger commands would
run on the same node as the slurmctld process, and so the user-specified
scripts could potentially consume resources on that node without much in
the way of limit enforcement.

Doug Jacobsen, Ph.D.
NERSC Computer Systems Engineer
National Energy Research Scientific Computing Center <http://www.nersc.gov>
dmjacobsen at lbl.gov

------------- __o
---------- _ '\<,_
----------(_)/  (_)__________________________

On Thu, May 24, 2018 at 11:43 AM Taras Shapovalov <
taras.shapovalov at brightcomputing.com> wrote:

> Hey guys,
> We always use the default value for SlurmUser, but now we have realized
> that we don't really get why it is user slurm, but not root. Sometimes it
> is useful to run SlurmctlProlog as root, but then slurmctld will also run
> as root. Other workload managers are ok to run their control daemons as
> root. Did you have something specific in mind when set this default value
> in slurm.conf or it is just in case for security reasons?
> Best regards,
> Taras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180525/653b303d/attachment-0001.html>

More information about the slurm-users mailing list