Fork bomb protection - best place where to add

Discussion in 'Installation/Configuration' started by Brano, Jul 9, 2015.

  1. Brano

    Brano New Member

    Hi all,
    in addition to jailkit chroot enviroment, I found that jailkit chroot is not protected for fork bomb. So I edit /etc/security/limits.conf and add nproc limit for client group. But i need do this for all new created clients, where they create shell user. Can you help me, in whitch file of ISPConfig is the best place for doing this ? It will be something like exec('echo .... >> /etc/security/limits.conf'); but im not sure with the right place for this.
    Or, is there any other possibility to fork bomb protection ? Eg. directly in jailkit .
    Thank you

Share This Page