Skip to content

Commit

Permalink
Merge pull request ComplianceAsCode#11205 from mpurg/pam_faillock_regex
Browse files Browse the repository at this point in the history
Minor fix for pam_faillock regex on Ubuntu (5.4.2)
  • Loading branch information
dodys authored Oct 17, 2023
2 parents 1abe48d + e605913 commit ff6e2c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<constant_variable id="var_accounts_passwords_pam_faillock_deny_pam_faillock_account_regex"
datatype="string" version="1"
comment="regex to identify pam_faillock.so entry in account section of pam files">
<value>^\s*account\s+required\s+pam_faillock\.so$</value>
<value>^\s*account\s+required\s+pam_faillock\.so\s*(#.*)?$</value>
</constant_variable>

<constant_variable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<constant_variable id="var_accounts_passwords_pam_faillock_interval_pam_faillock_account_regex"
datatype="string" version="1"
comment="regex to identify pam_faillock.so entry in account section of pam files">
<value>^\s*account\s+required\s+pam_faillock\.so$</value>
<value>^\s*account\s+required\s+pam_faillock\.so\s*(#.*)?$</value>
</constant_variable>

<constant_variable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<constant_variable id="var_accounts_passwords_pam_faillock_unlock_time_pam_faillock_account_regex"
datatype="string" version="1"
comment="regex to identify pam_faillock.so entry in account section of pam files">
<value>^\s*account\s+required\s+pam_faillock\.so$</value>
<value>^\s*account\s+required\s+pam_faillock\.so\s*(#.*)?$</value>
</constant_variable>

<constant_variable
Expand Down

0 comments on commit ff6e2c7

Please sign in to comment.