[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scap-security-guide
Subject:    [PATCH 11/15] Adding service_*_enabled.sh remediation scripts
From:       Shawn Wells <shawn () redhat ! com>
Date:       2014-04-18 3:32:00
Message-ID: 20140418033200.GA2857 () mail ! corp ! redhat ! com
[Download RAW message or body]

["0011-Adding-service_-_enabled.sh-remediation-scripts.patch" (text/plain)]

From d8feb2b2b24ddbf23d3f3c4cee5aa11b803229bf Mon Sep 17 00:00:00 2001
From: Shawn Wells <shawn@redhat.com>
Date: Thu, 17 Apr 2014 22:21:10 -0400
Subject: [PATCH 11/15] Adding service_*_enabled.sh remediation scripts

generated from template
---
 RHEL/6/input/fixes/bash/service_auditd_enabled.sh  |    2 +-
 RHEL/6/input/fixes/bash/service_crond_enabled.sh   |    2 +-
 .../input/fixes/bash/service_ip6tables_enabled.sh  |    2 +-
 .../6/input/fixes/bash/service_iptables_enabled.sh |    2 +-
 .../input/fixes/bash/service_irqbalance_enabled.sh |    2 +-
 RHEL/6/input/fixes/bash/service_ntpd_enabled.sh    |    2 +-
 RHEL/6/input/fixes/bash/service_postfix_enabled.sh |    2 +-
 RHEL/6/input/fixes/bash/service_psacct_enabled.sh  |    2 +-
 .../fixes/bash/service_restorecond_enabled.sh      |    2 +-
 RHEL/6/input/fixes/bash/service_rsyslog_enabled.sh |    2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/RHEL/6/input/fixes/bash/service_auditd_enabled.sh \
b/RHEL/6/input/fixes/bash/service_auditd_enabled.sh index cb4d102..b47c4b7 100644
--- a/RHEL/6/input/fixes/bash/service_auditd_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_auditd_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable auditd for all run levels
 #
-chkconfig --level 0123456 auditd on
+chkconfig auditd on
 
 #
 # Start auditd if not currently running
diff --git a/RHEL/6/input/fixes/bash/service_crond_enabled.sh \
b/RHEL/6/input/fixes/bash/service_crond_enabled.sh index a772070..b13309e 100644
--- a/RHEL/6/input/fixes/bash/service_crond_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_crond_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable crond for all run levels
 #
-chkconfig --level 0123456 crond on
+chkconfig crond on
 
 #
 # Start crond if not currently running
diff --git a/RHEL/6/input/fixes/bash/service_ip6tables_enabled.sh \
b/RHEL/6/input/fixes/bash/service_ip6tables_enabled.sh index f989ae8..482a6b6 100644
--- a/RHEL/6/input/fixes/bash/service_ip6tables_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_ip6tables_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable ip6tables for all run levels
 #
-chkconfig --level 0123456 ip6tables on
+chkconfig ip6tables on
 
 #
 # Start ip6tables if not currently running
diff --git a/RHEL/6/input/fixes/bash/service_iptables_enabled.sh \
b/RHEL/6/input/fixes/bash/service_iptables_enabled.sh index ed01d4f..fdf584c 100644
--- a/RHEL/6/input/fixes/bash/service_iptables_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_iptables_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable iptables for all run levels
 #
-chkconfig --level 0123456 iptables on
+chkconfig iptables on
 
 #
 # Start iptables if not currently running
diff --git a/RHEL/6/input/fixes/bash/service_irqbalance_enabled.sh \
b/RHEL/6/input/fixes/bash/service_irqbalance_enabled.sh index 1b9b458..6b18294 100644
--- a/RHEL/6/input/fixes/bash/service_irqbalance_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_irqbalance_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable irqbalance for all run levels
 #
-chkconfig --level 0123456 irqbalance on
+chkconfig irqbalance on
 
 #
 # Start irqbalance if not currently running
diff --git a/RHEL/6/input/fixes/bash/service_ntpd_enabled.sh \
b/RHEL/6/input/fixes/bash/service_ntpd_enabled.sh index f4ed34d..918cfd6 100644
--- a/RHEL/6/input/fixes/bash/service_ntpd_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_ntpd_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable ntpd for all run levels
 #
-chkconfig --level 0123456 ntpd on
+chkconfig ntpd on
 
 #
 # Start ntpd if not currently running
diff --git a/RHEL/6/input/fixes/bash/service_postfix_enabled.sh \
b/RHEL/6/input/fixes/bash/service_postfix_enabled.sh index 4a33fdb..6934d51 100644
--- a/RHEL/6/input/fixes/bash/service_postfix_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_postfix_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable postfix for all run levels
 #
-chkconfig --level 0123456 postfix on
+chkconfig postfix on
 
 #
 # Start postfix if not currently running
diff --git a/RHEL/6/input/fixes/bash/service_psacct_enabled.sh \
b/RHEL/6/input/fixes/bash/service_psacct_enabled.sh index 3392ff2..05e7751 100644
--- a/RHEL/6/input/fixes/bash/service_psacct_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_psacct_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable psacct for all run levels
 #
-chkconfig --level 0123456 psacct on
+chkconfig psacct on
 
 #
 # Start psacct if not currently running
diff --git a/RHEL/6/input/fixes/bash/service_restorecond_enabled.sh \
b/RHEL/6/input/fixes/bash/service_restorecond_enabled.sh index 1b6b364..f8d0d0a \
                100644
--- a/RHEL/6/input/fixes/bash/service_restorecond_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_restorecond_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable restorecond for all run levels
 #
-chkconfig --level 0123456 restorecond on
+chkconfig restorecond on
 
 #
 # Start restorecond if not currently running
diff --git a/RHEL/6/input/fixes/bash/service_rsyslog_enabled.sh \
b/RHEL/6/input/fixes/bash/service_rsyslog_enabled.sh index ee9b23e..6838995 100644
--- a/RHEL/6/input/fixes/bash/service_rsyslog_enabled.sh
+++ b/RHEL/6/input/fixes/bash/service_rsyslog_enabled.sh
@@ -1,7 +1,7 @@
 #
 # Enable rsyslog for all run levels
 #
-chkconfig --level 0123456 rsyslog on
+chkconfig rsyslog on
 
 #
 # Start rsyslog if not currently running
-- 
1.7.1


[Attachment #4 (text/plain)]

_______________________________________________
scap-security-guide mailing list
scap-security-guide@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic