freebsd-dev/contrib
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
..
amd Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
awk Tighten up the random seeding a little bit more. getpid() alone only 2001-11-03 02:14:10 +00:00
bc Remove files that were not part of the bc-1.06 import. 2001-11-04 06:20:02 +00:00
bind *** empty log message *** 2001-10-01 08:43:58 +00:00
binutils Update to the latest vendor's file. 2001-11-01 10:07:55 +00:00
bzip2 Virgin import (trimmed) of Bzip2 version 1.0.1. 2001-06-21 18:37:17 +00:00
com_err
cpio
cvs oops, forgot to commit man page for cvs changes 2001-09-21 19:05:36 +00:00
diff
file This commit was generated by cvs2svn to compensate for changes in r84685, 2001-10-08 22:50:54 +00:00
gcc Re-initialize gp after a jsr. 2001-08-17 22:54:26 +00:00
gdb Remove the filename_completion_function() extern that conflicts with the 2001-04-14 01:49:32 +00:00
gperf
groff This commit was generated by cvs2svn to compensate for changes in r85552, 2001-10-26 17:22:12 +00:00
ipfilter Fixed corruption of the vendor $Id$ to $FreeBSD$. Put $FreeBSD$ in 2001-10-12 15:05:00 +00:00
isc-dhcp Connect std{in,out,err} to *something* so that "hooks" scripts that write 2001-07-16 01:56:48 +00:00
less
libf2c
libio
libobjc
libpam Although the previous went some way towards fixing the pam.conf / pam.d 2001-12-07 00:37:10 +00:00
libpcap Merge libpcap 0.6.2 2001-04-03 04:32:48 +00:00
libreadline Move manpages to their original location (cvs copy to doc) 2001-04-21 22:02:18 +00:00
libstdc++
lukemftp Import of LukeM's ftp client, version 1.5. 2001-07-19 16:26:14 +00:00
lukemftpd Import of LukeM's ftpd version 1.1. 2001-07-19 16:25:08 +00:00
ncurses This commit was generated by cvs2svn to compensate for changes in r76732, 2001-05-17 08:39:21 +00:00
ntp Merge after 4.1.0 import. 2001-08-29 15:15:59 +00:00
nvi o nvi failed to correctly handle EINTR returned from tcsetattr(), exiting 2001-11-09 02:23:05 +00:00
one-true-awk Tell how the import was done. 2001-10-27 08:11:44 +00:00
opie Add heuristic to detect SSH connection (in the same style as other 2001-08-29 13:17:02 +00:00
patch
perl5
pnpinfo mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
sendmail Update import information 2001-08-21 01:33:05 +00:00
tcp_wrappers This commit was generated by cvs2svn to compensate for changes in r80260, 2001-07-24 09:05:00 +00:00
tcpdump Quick hack to print out the non-standard pppoe used by 3com 2001-09-27 08:02:27 +00:00
tcsh This commit was generated by cvs2svn to compensate for changes in r83098, 2001-09-05 17:49:32 +00:00
telnet Fixed bugs from previous revision. 2001-12-04 16:02:36 +00:00
texinfo
top Make top exit if its tty vanishes. 2001-11-04 21:15:52 +00:00
traceroute Fetch the default maximum TTL value from the net.inet.ip.ttl MIB. 2001-06-06 16:12:59 +00:00