>From a13fbca43719c791f88df6c2d736fdee6fe7003e Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Fri, 27 Dec 2013 02:52:40 -0500 Subject: [PATCH 28/31] Linked shared/file_ownership_binary_dirs -> RHEL6 & 7 - Tested shared/file_ownership_binary_dirs on rhel6,7 - Updated CPE info - Created symlinks - Deleted old RHEL6 version --- RHEL/6/input/checks/file_ownership_binary_dirs.xml | 163 +-------------------- RHEL/7/input/checks/file_ownership_binary_dirs.xml | 1 + shared/oval/file_ownership_binary_dirs.xml | 2 + 3 files changed, 4 insertions(+), 162 deletions(-) mode change 100644 => 120000 RHEL/6/input/checks/file_ownership_binary_dirs.xml create mode 120000 RHEL/7/input/checks/file_ownership_binary_dirs.xml diff --git a/RHEL/6/input/checks/file_ownership_binary_dirs.xml b/RHEL/6/input/checks/file_ownership_binary_dirs.xml deleted file mode 100644 index 602c720..0000000 --- a/RHEL/6/input/checks/file_ownership_binary_dirs.xml +++ /dev/null @@ -1,162 +0,0 @@ - - - - Verify that System Executables Have Root Ownership - - Red Hat Enterprise Linux 6 - - Checks that /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin and objects therein, are owned by root - - - - - - - - - - - - - - - - - - - - - - - - - - - - /bin - - state_owner_not_root - - - - - /bin - ^.*$ - state_owner_not_root - - - - - - - - - - - - - /sbin - - state_owner_not_root - - - - - /sbin - ^.*$ - state_owner_not_root - - - - - - - - - - - - - /usr/bin - - state_owner_not_root - - - - - /usr/bin - ^.*$ - state_owner_not_root - - - - - - - - - - - - - /usr/sbin - - state_owner_not_root - - - - - /usr/sbin - ^.*$ - state_owner_not_root - - - - - - - - - - - - - /usr/local/bin - - state_owner_not_root - - - - - /usr/local/bin - ^.*$ - state_owner_not_root - - - - - - - - - - - - - /usr/local/sbin - - state_owner_not_root - - - - - /usr/local/sbin - ^.*$ - state_owner_not_root - - - - - 0 - - diff --git a/RHEL/6/input/checks/file_ownership_binary_dirs.xml b/RHEL/6/input/checks/file_ownership_binary_dirs.xml new file mode 120000 index 0000000..2394a85 --- /dev/null +++ b/RHEL/6/input/checks/file_ownership_binary_dirs.xml @@ -0,0 +1 @@ +../../../../shared/oval/file_ownership_binary_dirs.xml \ No newline at end of file diff --git a/RHEL/7/input/checks/file_ownership_binary_dirs.xml b/RHEL/7/input/checks/file_ownership_binary_dirs.xml new file mode 120000 index 0000000..2394a85 --- /dev/null +++ b/RHEL/7/input/checks/file_ownership_binary_dirs.xml @@ -0,0 +1 @@ +../../../../shared/oval/file_ownership_binary_dirs.xml \ No newline at end of file diff --git a/shared/oval/file_ownership_binary_dirs.xml b/shared/oval/file_ownership_binary_dirs.xml index b6d0eec..f56babb 100644 --- a/shared/oval/file_ownership_binary_dirs.xml +++ b/shared/oval/file_ownership_binary_dirs.xml @@ -4,6 +4,8 @@ Verify that System Executables Have Root Ownership Fedora 19 + Red Hat Enterprise Linux 6 + Red Hat Enterprise Linux 7 Checks that /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, -- 1.8.3.1