>From 0c1416ff6ef6c3ee579c03d3248b5ba1268e0519 Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Fri, 27 Dec 2013 00:47:36 -0500 Subject: [PATCH 13/31] Moved userowner_shadow_file to shared/ - Tested on RHEL7, updated CPE, moved to shared/ --- RHEL/6/input/checks/userowner_shadow_file.xml | 33 +-------------------------- RHEL/7/input/checks/userowner_shadow_file.xml | 1 + shared/oval/userowner_shadow_file.xml | 33 +++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 32 deletions(-) mode change 100644 => 120000 RHEL/6/input/checks/userowner_shadow_file.xml create mode 120000 RHEL/7/input/checks/userowner_shadow_file.xml create mode 100644 shared/oval/userowner_shadow_file.xml diff --git a/RHEL/6/input/checks/userowner_shadow_file.xml b/RHEL/6/input/checks/userowner_shadow_file.xml deleted file mode 100644 index 4ef23c4..0000000 --- a/RHEL/6/input/checks/userowner_shadow_file.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - Verify user who owns 'shadow' file - - Red Hat Enterprise Linux 6 - - The /etc/shadow file should be owned by the - appropriate user. - - - - - - - - - - - - 0 - - - /etc/shadow - - diff --git a/RHEL/6/input/checks/userowner_shadow_file.xml b/RHEL/6/input/checks/userowner_shadow_file.xml new file mode 120000 index 0000000..8dd4044 --- /dev/null +++ b/RHEL/6/input/checks/userowner_shadow_file.xml @@ -0,0 +1 @@ +../../../../shared/oval/userowner_shadow_file.xml \ No newline at end of file diff --git a/RHEL/7/input/checks/userowner_shadow_file.xml b/RHEL/7/input/checks/userowner_shadow_file.xml new file mode 120000 index 0000000..8dd4044 --- /dev/null +++ b/RHEL/7/input/checks/userowner_shadow_file.xml @@ -0,0 +1 @@ +../../../../shared/oval/userowner_shadow_file.xml \ No newline at end of file diff --git a/shared/oval/userowner_shadow_file.xml b/shared/oval/userowner_shadow_file.xml new file mode 100644 index 0000000..59762b7 --- /dev/null +++ b/shared/oval/userowner_shadow_file.xml @@ -0,0 +1,33 @@ + + + + Verify user who owns 'shadow' file + + Red Hat Enterprise Linux 6 + Red Hat Enterprise Linux 7 + + The /etc/shadow file should be owned by the + appropriate user. + + + + + + + + + + + + 0 + + + /etc/shadow + + -- 1.8.3.1