<div dir='auto'>Hello,<div dir="auto"><br></div><div dir="auto">You have a 'contribs' directory in the source tree. You can make / make install from this directory and contribs will be added to your installed slurm.</div><div dir="auto"><br></div><div dir="auto">Your pam module is inside.</div><div dir="auto"><br></div><div dir="auto">Have a nice day !</div><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">Le 1 juil. 2020 11:10, Gestió Servidors <sysadmin.caos@uab.cat> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>
<p>Hello,</p>
<p> </p>
<p>I want to limit users to allow SSH connection to compute nodes. I have read at
<a href="https://slurm.schedmd.com/pam_slurm_adopt.html">https://slurm.schedmd.com/pam_slurm_adopt.html</a> that “pam_slurm_adopt” allows a SSH connection if and only if that user has a job (or more than one) running in that node. However, my SLURM system (19.05.4)
 hasn’t that module, so I have tried to compile (only the module, not the entire source tree) with “make && make install”, but system returns “Nothing to be done for ‘all’”. Why? In my running system, module is NOT installed and, after cheching config.log and
 config.status, it seems that module was NOT compiled... How can I compile only the module?</p>
<p> </p>
<p>Meanwhile, is there other solution to allow SSH connection to computes nodes (with running jobs or not) to a user? My SLURM has “UsePam=0”, but in /etc/security/access.conf file in compute nodes I have configured:</p>
<p style="margin-left:35.4pt">+ : root : root</p>
<p style="margin-left:35.4pt">- : ALL : ALL</p>
<p>Now, for a NAMD application (using “charmrun”), job “needs” a SSH connection.
</p>
<p> </p>
<p>Thanks. </p>
<p> </p>
<p> </p>
</div>
</div>
</blockquote></div><br></div></div>