On 3/29/13 9:54 AM, Brian Millett wrote:
Signed-off-by: Brian Millett <[email protected]>
---
  RHEL6/input/fixes/bash/disable_vsftpd.sh | 3 +++
  1 file changed, 3 insertions(+)
  create mode 100644 RHEL6/input/fixes/bash/disable_vsftpd.sh

diff --git a/RHEL6/input/fixes/bash/disable_vsftpd.sh 
b/RHEL6/input/fixes/bash/disable_vsftpd.sh
new file mode 100644
index 0000000..a9d4d72
--- /dev/null
+++ b/RHEL6/input/fixes/bash/disable_vsftpd.sh
@@ -0,0 +1,3 @@
+if service vsftpd status >/dev/null; then
+       service vsftpd stop
+fi


As OVAL performs a conditional check already there's no need for the bash scripts to repeat one. In the long run we'll want to remove the conditional checks... but for now, Ack

_______________________________________________
scap-security-guide mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide

Reply via email to