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

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



On Sun, Oct 24, 1999 at 10:25:53AM +0200, mfischer josefine ben tuwien ac at wrote:
> On Sat, Oct 23, 1999 at 04:52:19PM -0700, Horms wrote : 
> > On Sat, Oct 23, 1999 at 03:09:41PM +0330, Seyyed Hamid Reza Hashemi Golpayegani wrote:
> > > 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
> > 
> > Glibc supports arbitary databases for things like passwd, group and
> > shadow, through the nss mechanism.
> 
> 	Correct me If I'm wrong, but shouldn't this task be done
> by PAM ? And AFAIK there exists allready an PAM module which does
> basic mysql authentication, try searching for pam_mysql.tgz.

That is true if all you want to do is authenticate. But if you
need to get feilds out of /etc/passwd like gecos and UID, and
you want that distributed then you need to use nss.

-- 
Horms



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