[PATCH 1/4] example remediation script which takes a parameter

Jeffrey Blank blank at eclipse.ncsc.mil
Sun Jun 2 19:05:19 UTC 2013


Signed-off-by: Jeffrey Blank <blank at eclipse.ncsc.mil>
---
 RHEL6/input/fixes/bash/set_system_login_banner.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100644 RHEL6/input/fixes/bash/set_system_login_banner.sh

diff --git a/RHEL6/input/fixes/bash/set_system_login_banner.sh b/RHEL6/input/fixes/bash/set_system_login_banner.sh
new file mode 100644
index 0000000..ed172eb
--- /dev/null
+++ b/RHEL6/input/fixes/bash/set_system_login_banner.sh
@@ -0,0 +1,6 @@
+source ./templates/support.sh
+populate login_banner_text
+
+cat <<EOF >/etc/issue
+$login_banner_text
+EOF
-- 
1.7.1



More information about the scap-security-guide mailing list