From c31c12f1922680bb7cd0fc711b93d111926f16a0225ecdd99a735deda46c3604 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 15 Dec 2016 09:44:44 +0000 Subject: [PATCH] Accepting request 444873 from home:jmoellers:branches:Linux-PAM OBS-URL: https://build.opensuse.org/request/show/444873 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=167 --- pam-limit-nproc.patch | 14 +++++++------- pam.changes | 7 +++++++ pam.spec | 2 +- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/pam-limit-nproc.patch b/pam-limit-nproc.patch index e571d77..2553e5c 100644 --- a/pam-limit-nproc.patch +++ b/pam-limit-nproc.patch @@ -1,15 +1,15 @@ -Index: Linux-PAM-1.1.8/modules/pam_limits/limits.conf +Index: Linux-PAM-1.3.0/modules/pam_limits/limits.conf =================================================================== ---- Linux-PAM-1.1.8.orig/modules/pam_limits/limits.conf -+++ Linux-PAM-1.1.8/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 @@ #ftp hard nproc 0 #@student - maxlogins 4 +# harden against fork-bombs -+* hard nproc 4000 -+* soft nproc 3500 -+root hard nproc 3000 -+root soft nproc 1850 ++* hard nproc 16384 ++* soft nproc 4096 ++# root hard nproc 3000 ++# root soft nproc 1850 + # End of file diff --git a/pam.changes b/pam.changes index fa9c5ed..76468b9 100644 --- a/pam.changes +++ b/pam.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 8 12:41:05 UTC 2016 - josef.moellers@suse.com + +- Increased nproc limits for non-privileged users to 4069/16384. + Removed limits for "root". + [pam-limit-nproc.patch, bsc#1012494, bsc#1013706] + ------------------------------------------------------------------- Sun Jul 31 11:08:19 UTC 2016 - develop7@develop7.info diff --git a/pam.spec b/pam.spec index 030ce24..bae6ae5 100644 --- a/pam.spec +++ b/pam.spec @@ -1,7 +1,7 @@ # # spec file for package pam # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed