[2240] in linux-security and linux-alert archive

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Horms)
Sun Oct 24 16:54:42 1999

Date: Sun, 24 Oct 1999 11:16:42 -0700
From: Horms <horms@vergenet.net>
To: linux-security@redhat.com
Message-ID: <19991024111642.C24131@vergenet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <19991024102553.A18338@josefine.ben.tuwien.ac.at>; from mfischer@josefine.ben.tuwien.ac.at on Sun, Oct 24, 1999 at 10:25:53AM +0200
Resent-From: linux-security@redhat.com
Resent-Reply-To: linux-security@redhat.com

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

-- 
----------------------------------------------------------------------
Please refer to the information about this list as well as general
information about Linux security at http://www.aoy.com/Linux/Security.
----------------------------------------------------------------------

To unsubscribe:
  mail -s unsubscribe linux-security-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post