From: michal@gortel.phys.ualberta.ca (Michal Jaegermann)
Subject: Re: stacksize limit
Date: 2000/04/07 [thread overview]
Message-ID: <8ckpog$ctk$1@pulp.srv.ualberta.ca> (raw)
In-Reply-To: 8cikvh$2a9@news.Informatik.Uni-Oldenburg.DE
Johannes Nix (Johannes.Nix@mail.uni-oldenburg.de) wrote:
: michal@gortel.phys.ualberta.ca (Michal Jaegermann) writes:
: >
: > Check section 6.11, "The resource limits module", in your PAM
: > documentation.
: You are right. What I still don't understand is that it didn't seem to
: work with ssh altough there is a
: /etc/pam.d/ssh
....
: session required /lib/security/pam_limits.so
: which should work if I understand the whole thing well.
I am afraid that I do not know much more than documentation says.
Maybe there are some bugs somewhere? There for sure were bugs
in PAM libraries which came with RH 6.0 distribution. Also which
ssh is that. 'openssh'? It is supposed to work correctly with PAM
but maybe something was forgotten. As usual sources are available
to check that out.
: Also, I am
: wondering why atd and crond don't use PAM, anybody could create a
: memory-hungry cron job and try crash the system.
If you worried about that you would have to run cron and at jobs
via a wrapper which does '#!/bin/sh -login'. This is an untested guess
but this is a login shell which sets limts.
: The last thing which I don't understand is that to lock memory using
: memlockall() in every case I need root privileges even is the limit is
: "unlimited" , so what the "max locked memory limit" is about ?
No idea.
Bug report time?
Michal
prev parent reply other threads:[~2000-04-07 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-29 5:00 stacksize limit Mikael Borg
2000-04-06 4:00 ` Johannes Nix
2000-04-06 4:00 ` Michal Jaegermann
2000-04-06 4:00 ` Johannes Nix
2000-04-07 4:00 ` Michal Jaegermann [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox