[Beowulf] strange ulimit+ssh problem: ulimit unlimited only works in certain cases

Rahul Nabar rpnabar at gmail.com
Tue May 18 12:34:06 EDT 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

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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Beowulf mailing list