>From 6803522be061ec3e56e786545321a142092aa61c Mon Sep 17 00:00:00 2001 From: Shawn Wells <[email protected]> Date: Fri, 29 Mar 2013 19:04:41 -0400 Subject: [PATCH 08/21] Updated partition_for_home - Renamed OVAL to match XCCDF rule name
--- RHEL6/input/checks/mount_home_own_partition.xml | 24 --------------------- RHEL6/input/checks/partition_for_home.xml | 24 +++++++++++++++++++++ RHEL6/input/system/software/disk_partitioning.xml | 2 +- 3 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 RHEL6/input/checks/mount_home_own_partition.xml create mode 100644 RHEL6/input/checks/partition_for_home.xml diff --git a/RHEL6/input/checks/mount_home_own_partition.xml b/RHEL6/input/checks/mount_home_own_partition.xml deleted file mode 100644 index 0667987..0000000 --- a/RHEL6/input/checks/mount_home_own_partition.xml +++ /dev/null @@ -1,24 +0,0 @@ -<def-group> - <definition class="compliance" id="mount_home_own_partition" version="1"> - <metadata> - <title>Ensure /home Located On Separate Partition</title> - <affected family="unix"> - <platform>Red Hat Enterprise Linux 6</platform> - </affected> - <description>If user home directories will be stored locally, - create a separate partition for /home. If /home will be mounted - from another system such as an NFS server, then creating a separate - partition is not necessary at this time, and the mountpoint can - instead be configured later.</description> - </metadata> - <criteria> - <criterion test_ref="test_home_partition" comment="/home on own partition" /> - </criteria> - </definition> - <linux:partition_test check="all" check_existence="all_exist" id="test_home_partition" version="1" comment="/home on own partition"> - <linux:object object_ref="object_mount_home_own_partition" /> - </linux:partition_test> - <linux:partition_object id="object_mount_home_own_partition" version="1"> - <linux:mount_point>/home</linux:mount_point> - </linux:partition_object> -</def-group> diff --git a/RHEL6/input/checks/partition_for_home.xml b/RHEL6/input/checks/partition_for_home.xml new file mode 100644 index 0000000..0667987 --- /dev/null +++ b/RHEL6/input/checks/partition_for_home.xml @@ -0,0 +1,24 @@ +<def-group> + <definition class="compliance" id="mount_home_own_partition" version="1"> + <metadata> + <title>Ensure /home Located On Separate Partition</title> + <affected family="unix"> + <platform>Red Hat Enterprise Linux 6</platform> + </affected> + <description>If user home directories will be stored locally, + create a separate partition for /home. If /home will be mounted + from another system such as an NFS server, then creating a separate + partition is not necessary at this time, and the mountpoint can + instead be configured later.</description> + </metadata> + <criteria> + <criterion test_ref="test_home_partition" comment="/home on own partition" /> + </criteria> + </definition> + <linux:partition_test check="all" check_existence="all_exist" id="test_home_partition" version="1" comment="/home on own partition"> + <linux:object object_ref="object_mount_home_own_partition" /> + </linux:partition_test> + <linux:partition_object id="object_mount_home_own_partition" version="1"> + <linux:mount_point>/home</linux:mount_point> + </linux:partition_object> +</def-group> diff --git a/RHEL6/input/system/software/disk_partitioning.xml b/RHEL6/input/system/software/disk_partitioning.xml index 15ae942..5a0d4a4 100644 --- a/RHEL6/input/system/software/disk_partitioning.xml +++ b/RHEL6/input/system/software/disk_partitioning.xml @@ -120,7 +120,7 @@ setting of more restrictive mount options, and also helps ensure that users cannot trivially fill partitions used for log or audit data storage. </rationale> <ident cce="26557-9" /> -<oval id="mount_home_own_partition" /> +<oval id="partition_for_home" /> <ref nist="" disa="1208"/> <tested by="MM" on="20120928"/> </Rule> -- 1.7.1
_______________________________________________ scap-security-guide mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide
