public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sshd limits
@ 2006-05-18 11:44 sej.kernel
  0 siblings, 0 replies; only message in thread
From: sej.kernel @ 2006-05-18 11:44 UTC (permalink / raw)
  To: linux-kernel

Hi,
I modified
1) /etc/security/limits.conf :
* hard memlock 256000
* soft memlock 256000

2) /etc/pam.d/login and /etc/pam.d/sshd
session required pam_limits.so

Then I restarted sshd (service sshd restart) to applay changes.

But when I connect to my PC via ssh I don't have the good memlock rlimit.
Then if I use 'su mylogin', I have the right limits !!
So what did I forget in my configuration ?
 
regards,
sej


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-18 11:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 11:44 sshd limits sej.kernel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox