16 lines
564 B
Diff
16 lines
564 B
Diff
|
Index: Linux-PAM-1.1.8/modules/pam_limits/limits.conf
|
||
|
===================================================================
|
||
|
--- Linux-PAM-1.1.8.orig/modules/pam_limits/limits.conf
|
||
|
+++ Linux-PAM-1.1.8/modules/pam_limits/limits.conf
|
||
|
@@ -47,4 +47,10 @@
|
||
|
#ftp hard nproc 0
|
||
|
#@student - maxlogins 4
|
||
|
|
||
|
+# harden against fork-bombs
|
||
|
+* hard nproc 800
|
||
|
+* soft nproc 700
|
||
|
+root hard nproc 900
|
||
|
+root soft nproc 850
|
||
|
+
|
||
|
# End of file
|