>From 7fae707ccf94efe213a94186993a4f9ae3a29cb9 Mon Sep 17 00:00:00 2001 From: Shawn Wells Date: Sun, 12 May 2013 22:08:37 -0400 Subject: [PATCH 04/21] Updated template_permissions to place FILEID into strings Build was producing the following errors: Duplicate ID, which will not be added: state_uid_0 Duplicate ID, which will not be added: state_gid_0 Duplicate ID, which will not be added: state_mode_0000 These strings were common across all file_permissions_*. Prepended FILEID within the template build process to give each check its own state names. --- .../file_permissions_boot_grub_grub_conf.xml | 12 ++++++------ .../input/checks/file_permissions_etc_gshadow.xml | 12 ++++++------ RHEL6/input/checks/file_permissions_etc_passwd.xml | 12 ++++++------ RHEL6/input/checks/file_permissions_etc_shadow.xml | 12 ++++++------ RHEL6/input/checks/templates/template_permissions | 12 ++++++------ 5 files changed, 30 insertions(+), 30 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 c198cd5..b185de9 100644 --- a/RHEL6/input/checks/file_permissions_boot_grub_grub_conf.xml +++ b/RHEL6/input/checks/file_permissions_boot_grub_grub_conf.xml @@ -15,21 +15,21 @@ - - - + + + /boot/grub grub.conf - + 0 - + 0 - + false false false diff --git a/RHEL6/input/checks/file_permissions_etc_gshadow.xml b/RHEL6/input/checks/file_permissions_etc_gshadow.xml index ebfaf48..ea3540c 100644 --- a/RHEL6/input/checks/file_permissions_etc_gshadow.xml +++ b/RHEL6/input/checks/file_permissions_etc_gshadow.xml @@ -15,21 +15,21 @@ - - - + + + /etc gshadow - + 0 - + 0 - + false false false diff --git a/RHEL6/input/checks/file_permissions_etc_passwd.xml b/RHEL6/input/checks/file_permissions_etc_passwd.xml index 2b034a0..042f088 100644 --- a/RHEL6/input/checks/file_permissions_etc_passwd.xml +++ b/RHEL6/input/checks/file_permissions_etc_passwd.xml @@ -15,21 +15,21 @@ - - - + + + /etc passwd - + 0 - + 0 - + false false false diff --git a/RHEL6/input/checks/file_permissions_etc_shadow.xml b/RHEL6/input/checks/file_permissions_etc_shadow.xml index 1303c7f..2e3a45c 100644 --- a/RHEL6/input/checks/file_permissions_etc_shadow.xml +++ b/RHEL6/input/checks/file_permissions_etc_shadow.xml @@ -15,21 +15,21 @@ - - - + + + /etc shadow - + 0 - + 0 - + false false false diff --git a/RHEL6/input/checks/templates/template_permissions b/RHEL6/input/checks/templates/template_permissions index c3a2c38..e0a2c62 100644 --- a/RHEL6/input/checks/templates/template_permissions +++ b/RHEL6/input/checks/templates/template_permissions @@ -15,20 +15,20 @@ - - - + + + FILEDIR UNIX_FILENAME - + FILEUID - + FILEGID - + STATEMODE -- 1.7.1