aboutsummaryrefslogtreecommitdiff
path: root/base/bin/config/security/limits.d
diff options
context:
space:
mode:
Diffstat (limited to 'base/bin/config/security/limits.d')
-rw-r--r--base/bin/config/security/limits.d/90-nproc.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/bin/config/security/limits.d/90-nproc.conf b/base/bin/config/security/limits.d/90-nproc.conf
new file mode 100644
index 0000000..104dffd
--- /dev/null
+++ b/base/bin/config/security/limits.d/90-nproc.conf
@@ -0,0 +1,6 @@
+# Default limit for number of user's processes to prevent
+# accidental fork bombs.
+# See rhbz #432903 for reasoning.
+
+* soft nproc 1024
+root soft nproc unlimited