title: Different values returned by ulimit -r
body: <p>I added to my system-wide /etc/security/limits.conf the following two rows:</p>
  
  <pre><code>*       soft    rtprio      55
  *       hard    rtprio      55
  </code></pre>
  
  <p>After a system reboot, I get two different results according to the way I access my user account on the machine.</p>
  
  <pre><code>user@client# ssh user@server
  
  user@server# ulimit -r
  55
  </code></pre>
  
  <p>Then I logout and login again as root</p>
  
  <pre><code>user@client# ssh root@server
  
  root@server# su - user
  user@server# ulimit -r
  0
  </code></pre>
  
  <p>I have no special settings neither in .bashrc nor in any other places, or, at least, I think so.</p>
  
  <p>Why is this happening? </p>