Re: user resources limits?

Darrell Wright (dwright@beached.lakeheadu.ca)
Sat, 25 Sep 1999 22:01:23 -0400


Try using the pam module. add "session required
/lib/security/pam_limits.so" to you /etc/pam.d/login and set up the
limits in /etc/security/limits.conf. This will work for any shell and a
single user, group(s), or default for many limits can be specified.

-------------------------
Darrell Wright
DAW Software Development
-------------------------

German Jose Gomez Garcia wrote:
>
> Hello,
>
> I'm not able to set user resource limits (with ulimit under bash or
> limit under tcsh), am I doing something wrong or does linux not support
> limitting maximun memory/filesize/descriptors/... in a per-user basis?
>
> If not any user could make the system unusable using for example
> some kind of memory consumer program as the one attached.
>
> - german
>
> <>-------------------------------------+-----------------------------------<>
> One O.S. to rule them all, | German Gomez Garcia
> One O.S. to find them. | german@pinon.ccu.uniovi.es
> One O.S. to bring them all |
> and in the darkness bind them. | "Wur Qanar Wur Stilor Wur Kas"
> <>-------------------------------------+-----------------------------------<>
>
> ------------------------------------------------------------------------
> Name: petalo.c
> petalo.c Type: Plain Text (TEXT/PLAIN)
> Encoding: 7BIT

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