<def-group>
  <definition class="compliance" id="passwd_system-auth_substack" version="1">
    {{{ oval_metadata("PAMs passwd module must implement the system-auth substack when changing passwords.") }}}
    <criteria operator="AND">
      <criterion test_ref="test_passwd_system-auth_substack" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all" check_existence="at_least_one_exists"
      comment="check /etc/pam.d/passwd for the use of system-auth substack" id="test_passwd_system-auth_substack" version="1">
    <ind:object object_ref="object_passwd_system-auth_substack" />
  </ind:textfilecontent54_test>

  <ind:textfilecontent54_object
        comment="check /etc/pam.d/passwd for the use of system-auth substack"
        id="object_passwd_system-auth_substack" version="1">
      <ind:filepath>/etc/pam.d/passwd</ind:filepath>
      <ind:pattern operation="pattern match">^[\s]*password[\s]+substack[\s]+system-auth.*$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
