[PATCH 01/13] umask_for_daemons

Shawn Wells shawn.d.wells at gmail.com
Sat Sep 7 19:22:45 UTC 2013


-------------- next part --------------
>From fd60b86f37ebb81a2a7b573ddb1433be6c90f0c5 Mon Sep 17 00:00:00 2001
From: Shawn Wells <shawn at redhat.com>
Date: Sat, 7 Sep 2013 10:35:27 -0400
Subject: [PATCH 01/13] umask_for_daemons: filename -> filepath & updated signoff
 [shawn at rhel6 checks]$ var_umask_for_daemons=027 ; export var_umask_for_daemons ; ./testcheck.py umask_for_daemons.xml
 external_variable with id : var_umask_for_daemons
 Evaluating with OVAL tempfile : /tmp/umask_for_daemons0Ed5hX.xml
 Writing results to : /tmp/umask_for_daemons0Ed5hX.xml-results
 Definition oval:scap-security-guide.testing:def:116: false
 Evaluation done.
 [shawn at rhel6 checks]$ var_umask_for_daemons=022 ; export var_umask_for_daemons ; ./testcheck.py umask_for_daemons.xml
 external_variable with id : var_umask_for_daemons
 Evaluating with OVAL tempfile : /tmp/umask_for_daemonsCSwhJr.xml
 Writing results to : /tmp/umask_for_daemonsCSwhJr.xml-results
 Definition oval:scap-security-guide.testing:def:116: true
 Evaluation done.

---
 RHEL6/input/checks/umask_for_daemons.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/RHEL6/input/checks/umask_for_daemons.xml b/RHEL6/input/checks/umask_for_daemons.xml
index 5317911..4174797 100644
--- a/RHEL6/input/checks/umask_for_daemons.xml
+++ b/RHEL6/input/checks/umask_for_daemons.xml
@@ -28,8 +28,7 @@
   <external_variable comment="external variable for daemon umask" datatype="string" id="var_umask_for_daemons" version="1" />
 
   <ind:textfilecontent54_object id="object_umask_for_daemons" version="1">
-    <ind:path>/etc/init.d</ind:path>
-    <ind:filename>functions</ind:filename>
+    <ind:filepath>/etc/init.d/functions</ind:filepath>
     <ind:pattern operation="pattern match">^[\s]*umask[\s]+([^#\s]*)</ind:pattern>
     <ind:instance datatype="int">1</ind:instance>
   </ind:textfilecontent54_object>
-- 
1.7.1



More information about the scap-security-guide mailing list