From: Shawn Wells <shawn(a)redhat.com>
[user@redhat-thing-1 checks]$ ls -lL /etc/group
-rw-r--r--. 1 root root 882 Sep 16 12:58 /etc/group
[user@redhat-thing-1 checks]$ ./testcheck.py file_groupowner_etc_group.xml
Evaluating with OVAL tempfile : /tmp/file_groupowner_etc_groupeSFS3e.xml
Writing results to : /tmp/file_groupowner_etc_groupeSFS3e.xml-results
Definition oval:scap-security-guide.testing:def:126: true
Evaluation done.
[user@redhat-thing-1 checks]$ sudo chgrp user /etc/group ; ls -lL /etc/group
-rw-r--r--. 1 root user 882 Sep 16 12:58 /etc/group
[user@redhat-thing-1 checks]$ ./testcheck.py file_groupowner_etc_group.xml
Evaluating with OVAL tempfile : /tmp/file_groupowner_etc_groupxW6wEQ.xml
Writing results to : /tmp/file_groupowner_etc_groupxW6wEQ.xml-results
Definition oval:scap-security-guide.testing:def:126: false
Evaluation done.
---
RHEL6/input/checks/file_groupowner_etc_group.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/RHEL6/input/checks/file_groupowner_etc_group.xml
b/RHEL6/input/checks/file_groupowner_etc_group.xml
index 67f44cb..0c6de67 100644
--- a/RHEL6/input/checks/file_groupowner_etc_group.xml
+++ b/RHEL6/input/checks/file_groupowner_etc_group.xml
@@ -7,6 +7,7 @@
</affected>
<description>The /etc/group 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_group" />
@@ -23,7 +24,6 @@
</unix:file_state>
<unix:file_object comment="/etc/group"
id="object_file_groupowner_etc_group"
version="1">
- <unix:path>/etc</unix:path>
- <unix:filename>group</unix:filename>
+ <unix:filepath>/etc/group</unix:filepath>
</unix:file_object>
</def-group>
--
1.7.1