How do you set this FOR a user, I tried putting 
if [ "$USER" = "bob"] then ;
        ulimit ...
fi

in /etc/profile but it didn't seem to work it set the limits but then they
didn't stay.  Any Ideas?

-Chris


On Mon, 3 Aug 1998, Glynn Clements wrote:

> Date: Mon, 3 Aug 1998 16:13:35 +0100 (BST)
> From: Glynn Clements <[EMAIL PROTECTED]>
> To: Chris Nelson <[EMAIL PROTECTED]>
> Cc: Linux Admin <[EMAIL PROTECTED]>,
>     Linux Config <[EMAIL PROTECTED]>
> Subject: Re: Limits
> 
> 
> Chris Nelson wrote:
> 
> > 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?
> 
> It works fine on 2.0.35 at least.
> 
> Typing `ulimit -t 1' and then running a CPU-intensive application
> results in it dying quite quickly.
> 
> -- 
> Glynn Clements <[EMAIL PROTECTED]>
> 

Reply via email to