Seyyed Hamid Reza Hashemi Golpayegani
1999-Oct-23 11:39 UTC
How can I Authenticate via MySQL ?
Hi , I want to set up my Redhat 6.0 Linux machine to Authenticate username and password and other information for user that received from /etc/passwd & /etc/shadow from MySQL server . How Can I do that ? any Refrences or Manual for this is helpfull :) Thanx Hamid Hashemi
On Sat, Oct 23, 1999 at 03:09:41PM +0330, Seyyed Hamid Reza Hashemi Golpayegani wrote:> Hi , > > I want to set up my Redhat 6.0 Linux machine to Authenticate username and > password and other information for user that received from /etc/passwd & > /etc/shadow from MySQL server . How Can I do that ? > any Refrences or Manual for this is helpfull :)Glibc supports arbitary databases for things like passwd, group and shadow, through the nss mechanism. The configuration is typically through the /etc/nsswitch.conf. To impliement a new database all that is necessary it to impiment a library, /lib/nss_BLAH.so that defines the requited system calles, getpwnam etc... More information on this can be found in the glibc documentation including the glibc info pages, "info glbc". If you hunt around the web you might be able to find an existing nss_msql.so. -- Horms
Michael C. Neel
1999-Oct-28 13:32 UTC
[linux-security] Re: How can I Authenticate via MySQL ?
goto modules.apache.org and do a search on mod_mysql_auth. I'm using it to do authentation off of a mysql database with very good results. Mike -----Original Message----- From: Seyyed Hamid Reza Hashemi Golpayegani <hamid@morva.net> To: linux-security@redhat.com <linux-security@redhat.com> Date: Saturday, October 23, 1999 8:01 AM Subject: [linux-security] How can I Authenticate via MySQL ?>Hi , > >I want to set up my Redhat 6.0 Linux machine to Authenticate username and >password and other information for user that received from /etc/passwd & >/etc/shadow from MySQL server . How Can I do that ? >any Refrences or Manual for this is helpfull :) > >Thanx >Hamid Hashemi > >-- >---------------------------------------------------------------------- >Please refer to the information about this list as well as general >information about Linux security at aoy.com/Linux/Security. >---------------------------------------------------------------------- > >To unsubscribe: > mail -s unsubscribe linux-security-request@redhat.com < /dev/null >