Linux setup steps/Set limits.conf

From Nick Jenkins

Jump to: navigation, search
nano /etc/security/limits.conf

... and add these two lines:

*                hard    core            0
*                hard    nproc           150

This makes DOS attacks marginally harder - sets the core size to 0 K, and the maximum number of processes to 150.

Personal tools