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

Guy Coates gmpc at sanger.ac.uk
Tue May 18 09:23:45 PDT 2010


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

Cheers,

Guy

-- 
Dr. Guy Coates, Informatics System Group
The Wellcome Trust Sanger Institute, Hinxton, Cambridge, CB10 1HH, UK
Tel: +44 (0)1223 834244 x 6925
Fax: +44 (0)1223 496802


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



More information about the Beowulf mailing list