From 6e0511be69784ea909811dc278a3bd84cccceb01 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 25 Aug 2003 21:37:26 +0000 Subject: [PATCH 1/1] - updated init scripts for new rc-scripts-ulimits.patch, release 6 Changed files: openssh.spec -> 1.166 opensshd.init -> 1.21 --- openssh.spec | 4 ++-- opensshd.init | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/openssh.spec b/openssh.spec index a8bff6e..e20a6c7 100644 --- a/openssh.spec +++ b/openssh.spec @@ -22,7 +22,7 @@ Summary(ru): OpenSSH - Summary(uk): OpenSSH - צÌØÎÁ ÒÅÁ̦ÚÁÃ¦Ñ ÐÒÏÔÏËÏÌÕ Secure Shell (SSH) Name: openssh Version: 3.6.1p2 -Release: 5%{?_with_ldap:ldap} +Release: 6%{?_with_ldap:ldap} Epoch: 2 License: BSD Group: Applications/Networking @@ -255,7 +255,7 @@ Summary(ru): OpenSSH - Summary(uk): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd) Group: Networking/Daemons PreReq: %{name} = %{epoch}:%{version} -PreReq: rc-scripts >= 0.3.1-14 +PreReq: rc-scripts >= 0.3.1-15 Requires(pre): /bin/id Requires(pre): /usr/sbin/useradd Requires(post,preun): /sbin/chkconfig diff --git a/opensshd.init b/opensshd.init index ae53c43..49bdcf6 100644 --- a/opensshd.init +++ b/opensshd.init @@ -15,8 +15,7 @@ # Get network config . /etc/sysconfig/network -SERVICE_LIMITS_HARD="-u unlimited" -SERVICE_LIMITS_SOFT="-u unlimited -c 0" +SERVICE_LIMITS="-u unlimited -Sc 0" # Get service config [ -f /etc/sysconfig/sshd ] && . /etc/sysconfig/sshd -- 2.44.0