Date: Tue, 16 Mar 2004 19:20:42 +0200 From: Mike Jackson <mj@sci.fi> To: zhengyibiao@vnet.citiz.net Cc: freebsd-questions@freebsd.org Subject: Re: store freebsd accounts in mysql ??? Message-ID: <20040316172042.GA6815@gentoo.pp.jippii.fi>
next in thread | raw e-mail | index | archive | help
zhengyibiao@vnet.citiz.net (zhengyibiao@vnet.citiz.net) wrote: > > Hi: > I am using freebsd5.2, because i have a large number of users counted by ten thousand, use the passwd file to store user accounts and password lead to unbearable delay. I want to know if freebsd support store accounts in places other than '/etc/passwd' file, best support mysql database for passwd database backend. > any hints is welcome. > regards billy Hi, Newest versions of FreeBSD support PAM authentication, which can abstract the authentication database to anything which there is a PAM module available. I would advise against storing user accounts in MySQL, but rather store them in OpenLDAP (or your LDAP server software of choice). To perform user lookup you need "nss_ldap", and to perform authentication you need "pam_ldap". BR, Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040316172042.GA6815>