<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Be careful with this approach.  You also need the same munge key
    installed everywhere.  If the developers have root on their own
    system, they can submit jobs and run Slurm commands as any user.<br>
    <br>
    ssh sounds significantly safer.  A quick and easy way to make sure
    that users don't abuse the system is to set limits using
    pam_limits.so, usually in /etc/security/limits.conf.  A cputime
    limit of one minute should prevent users from running their work
    there.  If I'm reading it right, it sounds like you do want jobs
    running on that system but do not want people launching work over
    ssh.  In that case, you would need to make sure that pam_limits.so
    is enabled for ssh but not Slurm.<br>
    <br>
    Ryan<br>
    <br>
    <div class="moz-cite-prefix">On 12/12/19 2:01 AM, Nguyen Dai Quy
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABgQT6=ZvXHVE7-Ev4YodQT8XfKiDvf_rBQCo0FbWZm8_NKa2Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Thu, Dec 12, 2019 at 5:53
            AM Ryan Novosielski <<a
              href="mailto:novosirj@rutgers.edu" moz-do-not-send="true">novosirj@rutgers.edu</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div dir="auto">
              Sure; they’ll need to have the appropriate part of SLURM
              installed and the config file. This is similar to having
              just one login node per user. Typically login nodes don’t
              run either daemon. <br>
              <br>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>Hi,</div>
          <div>It's interesting ! Do you have any link/tutorial for this
            kind of setup?</div>
          <div>Thanks,</div>
          <div><br>
          </div>
          <span style="background-color:rgba(255,255,255,0)"></span><br>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div dir="auto">
              <div dir="ltr"><br>
                <blockquote type="cite">On Dec 11, 2019, at 22:41,
                  Victor (Weikai) Xie <<a
                    href="mailto:xieweikai@gmail.com" target="_blank"
                    moz-do-not-send="true">xieweikai@gmail.com</a>>
                  wrote:<br>
                  <br>
                </blockquote>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div dir="ltr">Hi,
                    <div><br>
                    </div>
                    <div>We are trying to setup a tiny Slurm cluster to
                      manage shared access to the GPU server in our
                      team. Both slurmctld and slumrd are going to run
                      on this GPU server. But here is a problem. On one
                      hand, we don't want to give developers ssh access
                      to that box, because otherwise they might bypass
                      Slurm job queue and launch jobs directly on the
                      box. On the other hand, if developers don't have
                      ssh access to the box, how can they run 'sbatch'
                      command to submit jobs?</div>
                    <div><br>
                    </div>
                    <div>Does Slurm provide an option to allow
                      developers submit jobs right from their own PCs?</div>
                    <div>
                      <div dir="ltr">
                        <div dir="ltr"><br>
                          Regards,<br>
                          <br>
                          Victor (Weikai)  Xie</div>
                      </div>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>