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

Re: .db based passwd/shadow files for Linux (BSDi style)



On Mon, Nov 05, 2001 at 06:31:04PM +0200, Ariel Biener wrote:
> 
> 
> 
>   Hi,
> 
> 
> 
>    I am looking for a .db based authentication files solution for Linux,
> much like the BSDi solution. My problem to solve is a mail server with
> about 42k-50k users, and the issue is delivering the best possible
> performance. NIS on Linux reeks for the volume of mail I am talking about
> (also pop3/imap/pops/imaps), and LDAP is not an option at the current
> installation, nor is kerberos.
> 
>    NIS was tested and it's performance on Linux (and Solaris for that
> matter) is not satisfactory. We're currently using a plaintext 40k users
> file, but the serial lookup in the files, despite nscd caching, is still
> non-optimal, and also not serving everyone in the same manner (longer
> lookups the more you have to go down the file). Yes, I have considered
> using a random algorithm in order to redistribute the users in the file in
> a random manner on each update, but this is an overkill.
> 
>    So, if anyone knows of a solution that allows PAM to use .db based
> authentication files, please share it with me.

Looking at the stock pam modules package, the pam_userdb module seems to 
achieve exactly what you want. See the relevant documentation for more 
details.


	Regards, Yotam Rubin

> 
> 
> --Ariel
> 
> --
> Ariel Biener
> e-mail: ariel@post.tau.ac.il
> PGP(6.5.8) public key http://www.tau.ac.il/~ariel/pgp.html
> 
> 
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
> 

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il