SHA256
6
0
forked from pool/pam

Accepting request 643661 from home:jmoellers:branches:Linux-PAM

OBS-URL: https://build.opensuse.org/request/show/643661
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=184
This commit is contained in:
Josef Möllers
2018-10-22 12:46:59 +00:00
committed by Git OBS Bridge
parent a5f3c5b6d5
commit 93d4e897d1
8 changed files with 37 additions and 91 deletions

View File

@@ -1,15 +1,11 @@
Index: Linux-PAM-1.3.0/modules/pam_limits/limits.conf
Index: Linux-PAM-1.3.1/modules/pam_limits/limits.conf
===================================================================
--- Linux-PAM-1.3.0.orig/modules/pam_limits/limits.conf
+++ Linux-PAM-1.3.0/modules/pam_limits/limits.conf
@@ -47,4 +47,10 @@
--- Linux-PAM-1.3.1.orig/modules/pam_limits/limits.conf
+++ Linux-PAM-1.3.1/modules/pam_limits/limits.conf
@@ -47,4 +47,6 @@
#ftp hard nproc 0
#@student - maxlogins 4
+# harden against fork-bombs
+* hard nproc 16384
+* soft nproc 4096
+# root hard nproc 3000
+# root soft nproc 1850
+# No limits for nproc, use systemd configuration instead
+
# End of file