On Tue, May 18, 2010 at 11:23 AM, Guy Coates <g...@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@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