gabriel rosenkoetter on Thu, 5 Dec 2002 12:20:08 -0500 |
On Thu, Dec 05, 2002 at 12:01:07PM -0500, gabriel rosenkoetter wrote: > something like this (Bourne syntax, presuming uid 1000 is the user > to be limited to 1024 seconds of CPU time): > > if [ x"id -u" = x"1000" ]; then > ulimit -t 1024 > fi Er, maybe not. The documented behavior of ulimit shell functions is that only the super-user can increase ulimit values, but I just lowered and then increased my own as a regular user. I'm sure I knew the right way to do this at some point... -- gabriel rosenkoetter gr@eclipsed.net Attachment:
pgptXapJpaAcm.pgp
|
|