Hello,

I'm having very strange problem here with PAM and user limits 
(/etc/security/limits.conf).
I have sshd running, and my /etc/pam.d/sshd file has the following record:

[...]
session    required       /lib/security/pam_limits.so

I have edited /etc/security/limits.conf and added the following record:

user     soft    nofile  4048
user     hard    nofile  4056

So once user "user" logins via ssh, he supposed to have these limits (viewble 
via "ulimit -a"). However, it does not work - user still has 1024 in FD 
limit.
Now if I "su user" from root, and type "ulimit -a", I see that FD is 4048!

Any suggestions where the problem could be?

regards,
Mikhail.

-- 
Yo-yo operating system = WinNT: it goes up..., it goes down..., it goes...

   -- From a Slashdot.org post


--
[EMAIL PROTECTED] mailing list

Reply via email to