<def-group>
  <definition class="compliance" id="{{{ rule_id }}}" version="1">
    {{{ oval_metadata("The file /etc/pam.d/common-* should not contain the nullok option", rule_title=rule_title) }}}
    <criteria>
      <criterion comment="make sure the nullok option is not used in /etc/pam.d/common-*"
                 test_ref="test_{{{ rule_id }}}" />
    </criteria>
  </definition>
  <ind:textfilecontent54_test check="all" check_existence="none_exist" version="1"
                              id="test_{{{ rule_id }}}"
                              comment="make sure nullok is not used in /etc/pam.d/common-*">
    <ind:object object_ref="object_{{{ rule_id }}}" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="object_{{{ rule_id }}}" version="1">
    <ind:filepath operation="pattern match">^/etc/pam.d/common-(password|auth|account|session|session-noninteractive)$</ind:filepath>
    <ind:pattern operation="pattern match">^[^#]*\bnullok\b.*$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
