public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "sej.kernel" <sej.kernel@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: sshd limits
Date: Thu, 18 May 2006 13:44:37 +0200	[thread overview]
Message-ID: <446C5E25.1060007@gmail.com> (raw)

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


                 reply	other threads:[~2006-05-18 11:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=446C5E25.1060007@gmail.com \
    --to=sej.kernel@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox