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

[linux-security] Re: How can I Authenticate via MySQL ?



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



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