Question about ulimit (Shell bomb proteccion)

speckados

Well-Known Member
The Shell Fork Bomb/Memory Hog Protection Enabled it's a good tools, but with latest version of java get a problem
Code:
Error occurred during initialization of VM 
Could not reserve enough space for object heap
Well. I'm try to assign at one user a diferent value for ulimit command.

Natural code for ulimit it's /etc/profile or /etc/bashrc

In this files are located code added from Cpanel with this tools.

Well.

After several tries, we earse manually code on two files.

C lose shell and reconnect.

ulimit it's valid, and show limits imposed for Cpanel

Who work exactly Shell bomb proteccion?
There're more files afected for this utils?

Where it's the best way for modify values assigned for Shell bomb proteccion?
 

thanatopsizer

Member
Dec 5, 2003
12
0
151
The ulimit code is in several files...
/etc/bashrc
/etc/profile
/etc/profile.d/limits.sh
/etc/profile.d/limits.csh


I haven't found much use for the shell fork bomb protection because I simply don't trust giving my users shell access.