I'm running Linux 2.0.34 on a Dual Pentium 200, setting the max cpu time
for a user doesn't seem to work, does anyone know if this is supported by
2.0.x linux kernels?
-Chris
On Sun, 2 Aug 1998, Glynn Clements wrote:
> Date: Sun, 2 Aug 1998 22:15:50 +0100 (BST)
> From: Glynn Clements <[EMAIL PROTECTED]>
> To: "C.J. Oster" <[EMAIL PROTECTED]>
> Cc: Linux Admin <[EMAIL PROTECTED]>,
> Linux Config <[EMAIL PROTECTED]>
> Subject: Re: Limits
>
>
> C.J. Oster wrote:
>
> > How do I go about limiting the amount of memory any non-privelaged user
> > and have, put a max on their number or processes, and such?
>
> Use the `ulimit' bash built-in.
>
> All processes which are started by init are run via the script
> /etc/initscript (or /sbin/initscript, depending upon how init was
> compiled).
>
> If you add a ulimit command to this script it will apply to all
> processes started by init. You can use the $1 or $4 arguments to apply
> limits selectively (e.g. only to getty processes).
>
> If users can log in via telnet, then you'll need to wrap either
> in.telnetd or login in a script which sets appropriate limits.
> Similarly for other daemons which provide login-like facilities (e.g.
> rshd, rlogind, sshd).
>
> --
> Glynn Clements <[EMAIL PROTECTED]>
>