[Beowulf] strange ulimit+ssh problem: ulimit unlimited only works in certain cases
Rahul Nabar
rpnabar at gmail.com
Tue May 18 09:34:06 PDT 2010
On Tue, May 18, 2010 at 11:23 AM, Guy Coates <gmpc at sanger.ac.uk> wrote:
> On 18/05/10 16:21, Rahul Nabar wrote:
>> 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:
>
> Check /etc/pam.d/su and /etc/pam.d/ssh; you may need add the following
> line to get ulimits to be set at login:
>
>
> session required pam_limits.so
Tried adding this line in both the files Guy mentioned and restarted
sshd. Didn't work.
In any case my sshd_config says:
UsePAM no
So not sure if PAM is getting used.
--
Rahul
More information about the Beowulf
mailing list