diff --git a/shared/oval/accounts_passwords_pam_faillock_deny.xml b/shared/oval/accounts_passwords_pam_faillock_deny.xml index e5f861a3bf1..4e86a1bff8d 100644 --- a/shared/oval/accounts_passwords_pam_faillock_deny.xml +++ b/shared/oval/accounts_passwords_pam_faillock_deny.xml @@ -1,5 +1,5 @@ - + Lock out account after failed login attempts @@ -8,80 +8,144 @@ Fedora 20 The number of allowed failed logins should be set correctly. - + + + - - - - + + + + + + + + - - - - + + + + + + + + + + + + - + + + /etc/pam.d/system-auth - ^\s*auth\s+(?:(?:required))\s+pam_faillock\.so\s+authfail.*deny=([0-9]*).*$ - 1 + + [\n][\s]*auth[\s]+required[\s]+pam_faillock\.so[\s]+preauth[\s]+silent[\s]+deny=([0-9]+)[\s]*[\n][\s]*auth[\s]+sufficient[\s]+pam_unix\.so[^\n]*[\n] + + 1 - - - - + + + + - - /etc/pam.d/password-auth - ^\s*auth\s+(?:(?:sufficient)|(?:\[default=die\]))\s+pam_faillock\.so\s+authfail.*deny=([0-9]*).*$ - 1 + + + + /etc/pam.d/system-auth + + [\n][\s]*auth[\s]+sufficient[\s]+pam_unix\.so[^\n]+[\n][\s]*auth[\s]+\[default=die\][\s]+pam_faillock\.so[\s]+authfail[\s]+deny=([0-9]+)[^\n]*[\n] + + 1 - - - - + + + - + + + /etc/pam.d/system-auth - ^\s*auth\s+(?:(?:required))\s+pam_faillock\.so\s+authsucc.*deny=([0-9]*).*$ - 1 + + [\n][\s]*account[\s]+required[\s]+pam_faillock\.so[^\n]*[\n][\s]*account[\s]+required[\s]+pam_unix\.so[^\n]*[\n] + + 1 - - - - + + + + + - + + + /etc/pam.d/password-auth - ^\s*auth\s+(?:(?:sufficient)|(?:\[default=die\]))\s+pam_faillock\.so\s+authsucc.*deny=([0-9]*).*$ - 1 + + [\n][\s]*auth[\s]+required[\s]+pam_faillock\.so[\s]+preauth[\s]+silent[\s]+deny=([0-9]+)[\s]*[\n][\s]*auth[\s]+sufficient[\s]+pam_unix\.so[^\n]*[\n] + + 1 - - - - + + + + + - - - + + + + /etc/pam.d/password-auth + + [\n][\s]*auth[\s]+sufficient[\s]+pam_unix\.so[^\n]+[\n][\s]*auth[\s]+\[default=die\][\s]+pam_faillock\.so[\s]+authfail[\s]+deny=([0-9]+)[^\n]*[\n] + + 1 + - - - + + + + - - - + + + + /etc/pam.d/password-auth + + [\n][\s]*account[\s]+required[\s]+pam_faillock\.so[^\n]*[\n][\s]*account[\s]+required[\s]+pam_unix\.so[^\n]*[\n] + + 1 + -