2016-12-15 10:44:44 +01:00
|
|
|
Index: Linux-PAM-1.3.0/modules/pam_limits/limits.conf
|
2014-12-25 18:01:00 +01:00
|
|
|
===================================================================
|
2016-12-15 10:44:44 +01:00
|
|
|
--- Linux-PAM-1.3.0.orig/modules/pam_limits/limits.conf
|
|
|
|
+++ Linux-PAM-1.3.0/modules/pam_limits/limits.conf
|
2014-12-25 18:01:00 +01:00
|
|
|
@@ -47,4 +47,10 @@
|
|
|
|
#ftp hard nproc 0
|
|
|
|
#@student - maxlogins 4
|
|
|
|
|
|
|
|
+# harden against fork-bombs
|
2016-12-15 10:44:44 +01:00
|
|
|
+* hard nproc 16384
|
|
|
|
+* soft nproc 4096
|
|
|
|
+# root hard nproc 3000
|
|
|
|
+# root soft nproc 1850
|
2014-12-25 18:01:00 +01:00
|
|
|
+
|
|
|
|
# End of file
|