From owner-freebsd-questions Tue Nov 13 13:44:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from teak.adhesivemedia.com (teak.adhesivemedia.com [207.202.159.79]) by hub.freebsd.org (Postfix) with ESMTP id 3486837B418 for ; Tue, 13 Nov 2001 13:44:54 -0800 (PST) Received: from localhost (philip@localhost) by teak.adhesivemedia.com (8.11.6/8.11.6) with ESMTP id fADLilI78074; Tue, 13 Nov 2001 13:44:47 -0800 (PST) (envelope-from philip@adhesivemedia.com) Date: Tue, 13 Nov 2001 13:44:47 -0800 (PST) From: Philip Hallstrom To: Noor Dawod Cc: freebsd-questions@FreeBSD.ORG Subject: Re: SQL authentication with login In-Reply-To: Message-ID: <20011113134350.L76836-100000@teak.adhesivemedia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I don't know hardly anything about PAM, but my understanding was that you didn't need to change any source code, just install the appropriate PAM module and change pam.conf to use that module for authentication... if I am right on that I am pretty sure I've seen PAM modules for postgresql. -philip On Tue, 13 Nov 2001, Noor Dawod wrote: > Hi all, > > I've taken a look at /usr/src/usr.bin/login/login.c to try and see if I > can change it and add to it another type of authentication, in my case, > SQL authentication. > > Put simply, I want login to use a SQL table to check validity of users, > in addition to PAM, Kerberos and normal /etc/passwd authentication > types. > > My question is: has anyone done this and if it at possible? I know this > might not be 100% UNIX standard, but let's say in my case, I care less > about standardization. By the way, it can be an optional component and > you don't have to use it at all. > > Anyone can help? > > Thanks in advance. > > Noor > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message