aboutsummaryrefslogtreecommitdiff
path: root/base/pam/pam-policy/90-nproc.conf
diff options
context:
space:
mode:
Diffstat (limited to 'base/pam/pam-policy/90-nproc.conf')
-rw-r--r--base/pam/pam-policy/90-nproc.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/pam/pam-policy/90-nproc.conf b/base/pam/pam-policy/90-nproc.conf
new file mode 100644
index 0000000..104dffd
--- /dev/null
+++ b/base/pam/pam-policy/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