Need help with restricting number of new objects a user script can create

Sybren Stuvel sybrenUSE at YOURthirdtower.com.imagination
Wed Mar 22 18:38:41 CET 2006


vj enlightened us with:
> how do I restrict the user from (inadvertently or maliciously)
> creating a large number of objects which will bring down the entire
> 100 nodes.

Use ulimit to give them a limited amount of CPU time, memory etc. The
kernel will then kill runaway processes.

Sybren
-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa



More information about the Python-list mailing list