Skip to content

Commit

Permalink
Check the pam_unix.so in oval
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcanonical committed Jan 8, 2025
1 parent e388457 commit b6e46ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ind:textfilecontent54_test>
<ind:textfilecontent54_object id="object_pam_unix_no_remember" version="1">
<ind:filepath operation="pattern match">^/etc/pam.d/common-(password|auth|account|session|session-noninteractive)$</ind:filepath>
<ind:pattern operation="pattern match">^[^#]*\bremember=\d+\b.*$</ind:pattern>
<ind:pattern operation="pattern match">^\s*password\s+(?:(?:sufficient)|(?:required)|(?:\[.*\]))\s+pam_unix\.so.*\bremember=\d+\b.*$</ind:pattern>
<ind:instance datatype="int">1</ind:instance>
</ind:textfilecontent54_object>
</def-group>

0 comments on commit b6e46ac

Please sign in to comment.