Subject: Re: integrating PAM
To: Peter Seebach <seebs@plethora.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 01/23/2003 22:28:54
On Thu, Jan 23, 2003 at 12:37:00PM -0600, Peter Seebach wrote:
> In message <20030123183546.GE591@mail.devonit.com>, Dan Melomedman writes:
> >This won't happen if every program which does authentication will be
> >linked against it. Which again, means that somehow PAM should be
> >optional.
>
> Hmm.
>
> <hypothetical>
> $ grep AUTH /etc/mk.conf
> AUTH_STYLE="PAM"
> </hypothetical>
>
> If we did that, we could support both BSD Auth *and* PAM, each "natively", by
> using #ifdefs in the affected programs. Might not work for everything, but
> it'd be cool. I would be happy to try to help anyone working on BSD Auth
> stuff.
There's something I don't understand. Why can't we just add pam and bsdauth
to the current nsswitch implementation ?
I.e.allows
passwd: pam
group: pam
or
passwd: bsdauth
group: bsdauth
in /etc/nsswitch.conf
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--