lkml.org 
[lkml]   [1999]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: user resources limits?
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.503 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site