<div dir="ltr">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.<div><br clear="all"><div><div dir="ltr" class="m_-8533579925751980292gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font face="courier new, monospace" size="1">----</font></div><div><font face="arial, helvetica, sans-serif"><font size="2">Doug Jacobsen, Ph.D.</font><br></font></div><div><font face="arial, helvetica, sans-serif" size="1">NERSC Computer Systems Engineer</font></div><div><font size="1"><font face="arial, helvetica, sans-serif"><a href="http://www.nersc.gov" target="_blank">National Energy Research Scientific Computing Center</a></font><br></font></div><div><font size="1"><a href="mailto:dmjacobsen@lbl.gov" style="font-family:arial,helvetica,sans-serif" target="_blank">dmjacobsen@lbl.gov</a><span style="font-family:arial,helvetica,sans-serif"></span></font><br></div><div><font size="1"><br></font></div><div><font size="1"><font face="courier new, monospace"><span style="color:rgb(136,136,136)">------------- __o</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">---------- _ '\<,_</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">----------(_)/  (_)__________________________</span></font><br></font></div><div style="font-family:arial;font-size:small"><br></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, May 24, 2018 at 11:43 AM Taras Shapovalov <<a href="mailto:taras.shapovalov@brightcomputing.com" target="_blank">taras.shapovalov@brightcomputing.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey guys,<div><br></div><div>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?</div><div><br></div><div>Best regards,</div><div><br></div><div>Taras</div></div>
</blockquote></div>