From: Johannes Nix <Johannes.Nix@mail.uni-oldenburg.de>
Subject: Re: stacksize limit
Date: 2000/04/06 [thread overview]
Message-ID: <8cikvh$2a9@news.Informatik.Uni-Oldenburg.DE> (raw)
In-Reply-To: 8cidb7$9a8$2@pulp.srv.ualberta.ca
michal@gortel.phys.ualberta.ca (Michal Jaegermann) writes:
>
> Check section 6.11, "The resource limits module", in your PAM
> documentation. Most likely in /usr/doc/pam-... on your disk.
> Few different formats of this document are available.
>
> If your system is using PAM then whatever has to do with logins should
> be checked with PAM documentation first.
>
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
#%PAM-1.0
auth required /lib/security/pam_unix.so # set_secrpc
auth required /lib/security/pam_nologin.so
auth required /lib/security/pam_env.so
account required /lib/security/pam_unix.so
password required /lib/security/pam_unix.so # strict=false
session required /lib/security/pam_unix.so none # trace or debug
session required /lib/security/pam_limits.so
which should work if I understand the whole thing well. 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.
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 ? (Would
be practical to know for me because I work with real-time
applications)?
Johannes
next prev parent reply other threads:[~2000-04-06 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 [this message]
2000-04-07 4:00 ` Michal Jaegermann
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