[PATCH 02/26] New Remediation

Shawn Wells shawn at redhat.com
Tue Apr 15 18:30:20 UTC 2014


-------------- next part --------------
>From bbbea6a495969b2600ed96b7e680a9b95b029cde Mon Sep 17 00:00:00 2001
From: Shawn Wells <shawn at redhat.com>
Date: Sun, 13 Apr 2014 00:58:46 -0400
Subject: [PATCH 02/26] New Remediation: enable_selinux_bootloader.sh

---
 .../input/fixes/bash/enable_selinux_bootloader.sh  |    1 +
 shared/fixes/bash/enable_selinux_bootloader.sh     |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
 create mode 120000 RHEL/6/input/fixes/bash/enable_selinux_bootloader.sh
 create mode 100644 shared/fixes/bash/enable_selinux_bootloader.sh

diff --git a/RHEL/6/input/fixes/bash/enable_selinux_bootloader.sh b/RHEL/6/input/fixes/bash/enable_selinux_bootloader.sh
new file mode 120000
index 0000000..a7000e9
--- /dev/null
+++ b/RHEL/6/input/fixes/bash/enable_selinux_bootloader.sh
@@ -0,0 +1 @@
+../../../../../shared/fixes/bash/enable_selinux_bootloader.sh
\ No newline at end of file
diff --git a/shared/fixes/bash/enable_selinux_bootloader.sh b/shared/fixes/bash/enable_selinux_bootloader.sh
new file mode 100644
index 0000000..2aa0077
--- /dev/null
+++ b/shared/fixes/bash/enable_selinux_bootloader.sh
@@ -0,0 +1,2 @@
+sed -i "s/[Ss][Ee][Ll][Ii][Nn][Uu][Xx]=0//g" /etc/grub.conf
+sed -i "s/[Ee][Nn][Ff][Oo][Rr][Cc][Ii][Nn][Gg]=0//g" /etc/grub.conf
-- 
1.7.1



More information about the scap-security-guide mailing list