| Summary: | pam_tally2 lacks ability to prevent accounts from being locked | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Terry Bowling <tbowling> |
| Component: | pam | Assignee: | Tomas Mraz <tmraz> |
| Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.1 | CC: | dapospis, pep |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-24 14:21:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 782183, 835616 | ||
|
Description
Terry Bowling
2012-03-02 14:44:34 UTC
Strategic TAM customer has brought this to our attention as it significantly impacts their Security and Audit processes. A Google search for (pam_tally2 prevent lockout) will provide multiple links of others running into this issue as well. You can at least do it by skipping over the pam_tally2 module for the user with pam_succeed_if.so or pam_listfile.so module - such as: auth [success=1 default=ignore] pam_succeed_if.so user in u1:u2:u3 auth required pam_tally2.so deny=3 onerr=fail I have requested the customer to evaluate and test the following options to ensure that it continues to evaluate the pam_ldap requirements as well. I am not sure it will pass their audit requirements as it is bypassing pam_tally2 and therefore not incrementing failed attempts. We will see how the customer responds. Thanks for your feedback. 1. add these local accounts to a local group (slm_local_exclusions) auth [success=1 default=ignore] pam_succeed_if.so user ingroup slm_local_exclusions 2. add user,host combination to a netgroup (slm_local_exclusions) auth [success=1 default=ignore] pam_succeed_if.so user innetgr slm_local_exclusions 3. use a file containing a list of users, one per line: /etc/pam.d/slm_local_exclusions auth [success=1 default=ignore] pam_listfile.so item=user sense=allow file=/etc/pam.d/slm_local_exclusions This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. We have a workaround for this. Please re-validate this and re-open if necessary. |