lkml.org 
[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsshd limits
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-18 13:50    [W:0.023 / U:16.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site