Bug 8547
| Summary: | pam_pwdb is REALLY slow for authenticating users | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | aland |
| Component: | pwdb | Assignee: | Cristian Gafton <gafton> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-02-04 02:17:45 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I agree this is a problem ; however, a correct solution involves extensive rewrites - we will be switching away from pwdb in the future. |
RH 6.1 ships with pam_pwdb configured in /etc/pam.d/login etc. Yet for systems with many users (100's to 1000's), pam_pwdb takes *seconds* to check a password against /etc/passwd. If the pam_pwdb lines in /etc/pam.d/login are replaced with the appropriate pam_unix_{auth, acct, session}, then little or no delay is seen on log in.