mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
cab8cba36f
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 |
||
---|---|---|
.. | ||
defs | ||
doc | ||
libpam | ||
libpam_misc | ||
libpamc | ||
modules | ||
_pam_aconf.h.in | ||
CHANGELOG | ||
configure | ||
configure.in | ||
Copyright | ||
FREEBSD-upgrade | ||
FREEBSD-Xlist | ||
Make.Rules.in | ||
Makefile | ||
README | ||
TODO |
# # $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>