>From 07380c0c2528f6ef24f95e2481ee6613e0710d56 Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Sun, 12 May 2013 21:41:22 -0400 Subject: [PATCH 02/21] Updated state_uid_0 names within OVAL Multiple OVAL checks were using "state_uid_0" causing build errors. Updated so everyone uses their own, thus removing the following build error/notice: Duplicate ID, which will not be added: state_uid_0 TESTING: [shawn@rhel6 checks]$ ./testcheck.py file_permissions_etc_shadow.xml ; ./testcheck.py file_permissions_etc_passwd.xml ; ./testcheck.py file_permissions_etc_gshadow.xml ; ./testcheck.py file_permissions_boot_grub_grub_conf.xml Evaluating with OVAL tempfile : /tmp/file_permissions_etc_shadowG5kEwH.xml Definition oval:scap-security-guide.testing:def:114: true Evaluation done. Evaluating with OVAL tempfile : /tmp/file_permissions_etc_passwdK2zYST.xml Definition oval:scap-security-guide.testing:def:120: true Evaluation done. Evaluating with OVAL tempfile : /tmp/file_permissions_etc_gshadowA33kXf.xml Definition oval:scap-security-guide.testing:def:125: true Evaluation done. Evaluating with OVAL tempfile : /tmp/file_permissions_boot_grub_grub_confJxa7mt.xml Definition oval:scap-security-guide.testing:def:129: true Evaluation done. --- .../file_permissions_boot_grub_grub_conf.xml | 4 ++-- .../input/checks/file_permissions_etc_gshadow.xml | 4 ++-- RHEL6/input/checks/file_permissions_etc_passwd.xml | 4 ++-- RHEL6/input/checks/file_permissions_etc_shadow.xml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/RHEL6/input/checks/file_permissions_boot_grub_grub_conf.xml b/RHEL6/input/checks/file_permissions_boot_grub_grub_conf.xml index 3033e50..242f7e4 100644 --- a/RHEL6/input/checks/file_permissions_boot_grub_grub_conf.xml +++ b/RHEL6/input/checks/file_permissions_boot_grub_grub_conf.xml @@ -15,7 +15,7 @@ - + @@ -23,7 +23,7 @@ /boot/grub grub.conf - + 0 diff --git a/RHEL6/input/checks/file_permissions_etc_gshadow.xml b/RHEL6/input/checks/file_permissions_etc_gshadow.xml index 17c3e0c..60b9c01 100644 --- a/RHEL6/input/checks/file_permissions_etc_gshadow.xml +++ b/RHEL6/input/checks/file_permissions_etc_gshadow.xml @@ -15,7 +15,7 @@ - + @@ -23,7 +23,7 @@ /etc gshadow - + 0 diff --git a/RHEL6/input/checks/file_permissions_etc_passwd.xml b/RHEL6/input/checks/file_permissions_etc_passwd.xml index 107cd48..3f79be1 100644 --- a/RHEL6/input/checks/file_permissions_etc_passwd.xml +++ b/RHEL6/input/checks/file_permissions_etc_passwd.xml @@ -15,7 +15,7 @@ - + @@ -23,7 +23,7 @@ /etc passwd - + 0 diff --git a/RHEL6/input/checks/file_permissions_etc_shadow.xml b/RHEL6/input/checks/file_permissions_etc_shadow.xml index a2fcc8f..72e6fd5 100644 --- a/RHEL6/input/checks/file_permissions_etc_shadow.xml +++ b/RHEL6/input/checks/file_permissions_etc_shadow.xml @@ -15,7 +15,7 @@ - + @@ -23,7 +23,7 @@ /etc shadow - + 0 -- 1.7.1