[2235] in linux-security and linux-alert archive
[linux-security] Re: How can I Authenticate via MySQL ?
daemon@ATHENA.MIT.EDU (Horms)
Sun Oct 24 03:19:09 1999
Date: Sat, 23 Oct 1999 16:52:19 -0700
From: Horms <horms@vergenet.net>
To: Seyyed Hamid Reza Hashemi Golpayegani <hamid@morva.net>
Cc: linux-security@redhat.com
Message-ID: <19991023165219.C29592@vergenet.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <000901bf1d4b$501b91c0$051414c8@hashemig>; from Seyyed Hamid Reza Hashemi Golpayegani on Sat, Oct 23, 1999 at 03:09:41PM +0330
Resent-From: linux-security@redhat.com
Resent-Reply-To: linux-security@redhat.com
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
--
----------------------------------------------------------------------
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