I am trying to get my "ulimit -l" set to unlimited, for normal users,
and not sure what's going wrong. I get the correct ulimit under only
once particular scenario: If I become root and then su to a normal
user. Otherwise it doesn't seem to work. The symptoms are:

rpna...@eu001>ssh eu002 ulimit -l
32

[rpna...@eu001 root]$ ssh eu002
[rpna...@eu002 ~]$ ulimit -l
32

[r...@eu001 ~]# ulimit -l
unlimited
[r...@eu001 ~]# su rpnabar
[rpna...@eu001 root]$ ulimit -l
unlimited

eu001 and eu002 are identical compute nodes running CentOS.

Here's what all I've already tried:

[rpna...@eu001 root] cat /etc/security/limits.conf
[snip]
*               hard    memlock         unlimited
*               soft    memlock         unlimited
# End of file

[rpna...@eu001 root]$ cat /etc/ssh/sshd_config
[snip]
UsePrivilegeSeparation no
[snip]
[rpna...@eu001 root]$ service sshd restart

The last suggestion was on the basis of a RHEL knowledgebase article.
Any other things that I can check for this? I'm stumped.

-- 
Rahul
_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to