Subject: Re: Cannot ulimit -m
To: Paul Hoffman <phoffman@proper.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 01/29/2002 10:17:13
On Mon, Jan 28, 2002 at 03:19:30PM -0800, Paul Hoffman wrote:
> At 10:53 PM +0100 1/28/02, Manuel Bouyer wrote:
> >On Mon, Jan 28, 2002 at 07:53:59AM -0800, Paul Hoffman wrote:
> >>  When I give the command "ulimit -m unlimited", the shell (either bash
> >>  or ksh) reports:
> >>
> >>     ulimit: cannot modify limit: Operation not permitted
> >>
> >>  How do I allow a particular user to set his memory limit higher?
> >
> >If you look at the hard limit with 'ulimit -H' and then try to set to this
> >limit, does it work ?
> 
> ulimit -H reports "unlimited".
> 
> ulimit -a reports:

You want ulimit -a -H then. Sorry I'm a csh user :)

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--