Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 8547

Summary: pam_pwdb is REALLY slow for authenticating users
Product: [Retired] Red Hat Linux Reporter: aland
Component: pwdbAssignee: 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:

Description aland 2000-01-17 19:31:54 UTC
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.

Comment 1 Cristian Gafton 2000-02-04 02:17:59 UTC
I agree this is a problem ; however, a correct solution involves extensive
rewrites - we will be switching away from pwdb in the future.