freebsd-dev/contrib/libpam
Dag-Erling Smørgrav cab8cba36f Although the previous went some way towards fixing the pam.conf / pam.d
problem, it still didn't DTRT for services that did not have a service-
specific policy if /etc/pam.d existed but did not contain an "other"
policy.  This fixes the problems some people have experienced with sudo.
And I almost didn't have to use goto.

The current configuration sequence is:

  1) Look for /etc/pam.d/foo

  2) If PAM_READ_BOTH_CONFS is defined, or step 1) failed, look for
     foo in /etc/pam.conf

  3) Look for /etc/pam.d/other (to fill in the gaps)

  4) If PAM_READ_BOTH_CONFS is defined, or step 3) failed, look for
     other in /etc/pam.conf

I believe this is the intended behaviour of the original code.  The least
surprising behaviour seems to be when PAM_READ_BOTH_CONFS is not defined -
/etc/pam.d/foo will be preferred over /etc/pam.conf, but the latter will
serve as a backup if the former does not exist.

Sponsored by:	DARPA, NAI Labs
2001-12-07 00:37:10 +00:00
..
defs This commit was generated by cvs2svn to compensate for changes in r76238, 2001-05-03 09:36:08 +00:00
doc Resolve conflicts. 2001-05-03 10:48:56 +00:00
libpam Although the previous went some way towards fixing the pam.conf / pam.d 2001-12-07 00:37:10 +00:00
libpam_misc Clean up namespace pollution by prepending underscores to argument names in 2001-12-05 16:31:34 +00:00
libpamc Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
modules Bring back from the er, dead some useful PAM modules. 2001-05-29 18:32:17 +00:00
_pam_aconf.h.in Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
CHANGELOG Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
configure Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
configure.in Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
Copyright Initial import of virgin Linux-PAM 0.65, slightly stripped down. 1998-11-18 01:16:21 +00:00
FREEBSD-upgrade
FREEBSD-Xlist
Make.Rules.in Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
Makefile Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
README Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
TODO Initial import of virgin Linux-PAM 0.65, slightly stripped down. 1998-11-18 01:16:21 +00:00

#
# $Id: README,v 1.3 2000/11/20 00:01:49 agmorgan Exp $
#

Hello!

Thanks for downloading Linux-PAM.

NOTES:

How to use it is as follows:

      ./configure --help | less
      ./configure <your-options>
      make

Note, if you are worried - don't even think about doing the next line
(most Linux distributions already support PAM out of the box, so if
something goes wrong with installing the code from this version your
box may stop working..)

      make install

That said, please report problems to me.

Andrew Morgan
<morgan@kernel.org>
<agmorgan@users.sourceforge.net>