[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Large passwd file slowness

The last time the similar problem was reported I heard that
removing all traces of nis in /etc/nsswitch.conf and
replacing pam_pwdb modules by pam_unix_* modules in /etc/pam.d/login
makes things quick back.

Best regards
					Andrey V.

On Fri, Aug 21, 1998 at 09:34:48AM -0500, Bob Farmer wrote:
> I am running a RedHat 5.1 server with about 13,000 users, and started
> seeing the login slowness that has been discussed on this list in the
> past... 
> I did a little more looking into it and it seems the source of the
> slowness is the "account" portion of the pam_pwdb module.  I wrote up a
> quick modification on pam_deny that instead of denying everything,
> succeeds on everything, replaced the "account" module in /etc/pam.d/login
> with that, and everything is really quick now.  I don't use password aging
> or anything, so this should be safe, shouldn't it? 
> Also I am wondering if this is a known issue, if there are any better
> fixes, etc.  Briefly glancing at the pam_pwdb code, I didn't see any 
> obvious reasons why its "account" portion would be slow...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []