[PATCH 6/9] OVAL signoff file_groupowner_etc_gshadow [user at redhat-thing-1 checks]$ ls -lL /etc/gshadow ----------. 1 root root 723 Sep 16 12:58 /etc/gshadow [user at redhat-thing-1 checks]$ ./testcheck.py file_groupowner_etc_gshadow.xml Evaluating with OVAL tempfile : /tmp/file_groupowner_etc_gshadow05JsdI.xml Writing results to : /tmp/file_groupowner_etc_gshadow05JsdI.xml-results Definition oval:scap-security-guide.testing:def:118: true Evaluation done. [user at redhat-thing-1 checks]$ sudo chgrp user /etc/gshadow ; ls -lL /etc/gshadow ----------. 1 root user 723 Sep 16 12:58 /etc/gshadow [user at redhat-thing-1 checks]$ ./testcheck.py file_groupowner_etc_gshadow.xml Evaluating with OVAL tempfile : /tmp/file_groupowner_etc_gshadowQ1t_rc.xml Writing results to : /tmp/file_groupowner_etc_gshadowQ1t_rc.xml-results Definition oval:scap-security-guide.testing:def:118: false Evaluation done.

shawn at redhat.com shawn at redhat.com
Wed Sep 18 20:38:57 UTC 2013


From: Shawn Wells <shawn at redhat.com>

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

diff --git a/RHEL6/input/checks/file_groupowner_etc_gshadow.xml b/RHEL6/input/checks/file_groupowner_etc_gshadow.xml
index 833aa53..80e24f5 100644
--- a/RHEL6/input/checks/file_groupowner_etc_gshadow.xml
+++ b/RHEL6/input/checks/file_groupowner_etc_gshadow.xml
@@ -7,6 +7,7 @@
       </affected>
       <description>The /etc/gshadow file should be owned by the appropriate
       group.</description>
+      <reference source="swells" ref_id="20130918" ref_url="test_attestation" />
     </metadata>
     <criteria>
       <criterion test_ref="test_file_groupowner_etc_gshadow" />
@@ -23,7 +24,6 @@
   </unix:file_state>
   <unix:file_object comment="/etc/gshadow"
   id="object_file_groupowner_etc_gshadow" version="1">
-    <unix:path>/etc</unix:path>
-    <unix:filename>gshadow</unix:filename>
+    <unix:filepath>/etc/gshadow</unix:filepath>
   </unix:file_object>
 </def-group>
-- 
1.7.1



More information about the scap-security-guide mailing list