aboutsummaryrefslogtreecommitdiff
path: root/base/bin/config/security/limits.d
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-16 18:47:05 +0200
committerDeposite Pirate2018-09-16 18:47:05 +0200
commitf29d3519ce073ec30f99754d93304324f7f26d65 (patch)
tree24082fb10d4979792f67961c24a812644210db34 /base/bin/config/security/limits.d
Initial commit.
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