<def-group>
  <definition class="compliance" id="cron_access_controlled" version="1">
    <metadata>
      <title>Files /etc/cron.allow And /etc/cron.deny Must Exist</title>
      <affected family="unix">
        <platform>CentOS 4</platform>
		<platform>CentOS 5</platform>
		<platform>Red Hat Enterprise Linux 4</platform>
		<platform>Red Hat Enterprise Linux 5</platform>
      </affected>
      <description>Group owner for /etc/cron.allow and /etc/cron.deny must exist.</description>
    </metadata>
    <criteria>
      <criterion test_ref="test_cron_access_controlled_cron_allow" />
      <criterion test_ref="test_cron_access_controlled_cron_deny" />
    </criteria>
  </definition>

  <unix:file_test check="all" check_existence="all_exist" comment="Testing /etc/cron.allow existence" id="test_cron_access_controlled_cron_allow" version="1">
    <unix:object object_ref="object_cron_access_controlled_cron_allow" />
  </unix:file_test>
  <unix:file_object comment="/etc/cron.allow" id="object_cron_access_controlled_cron_allow" version="1">
    <unix:filepath>/etc/cron.allow</unix:filepath>
  </unix:file_object>

  <unix:file_test check="all" check_existence="all_exist" comment="Testing /etc/cron.deny existence" id="test_cron_access_controlled_cron_deny" version="1">
    <unix:object object_ref="object_cron_access_controlled_cron_deny" />
  </unix:file_test>
  <unix:file_object comment="/etc/cron.deny" id="object_cron_access_controlled_cron_deny" version="1">
    <unix:filepath>/etc/cron.deny</unix:filepath>
  </unix:file_object>

</def-group>
