]> granicus.if.org Git - linux-pam/blob - CHANGELOG
Relevant BUGIDs: 667584 664290
[linux-pam] / CHANGELOG
1
2 $Id$
3
4 -----------------------------
5
6 TODO:
7
8   - sanitize use of md5 throughout distribution.. Make a static
9     library for helping to develop modules that contains it and other
10     stuff. Also add sha-1 and ripemd-160 digest algorithms.
11   - once above is done. remove hacks from the secret@here module etc..
12   - remove prototype for gethostname in pam_access.c (Derrick)
13   - document PAM_INCOMPLETE changes
14   - verify that the PAM_INCOMPLETE interface is sensible.   Can we
15     catch errors? should we permit item changing etc., between
16     pam_authenticate re-invocations?
17   - verify that the PAM_INCOMPLETE interface works (auth seems ok..)
18   - add PAM_INCOMPLETE support to modules (partially added to pam_pwdb)
19   - work on RFC.
20   - do we still need to remove openlog/closelog from modules..?
21   - auth and acct support in pam_cracklib, "yes, I know the password
22     you just typed was valid, I just don't think it was very strong..."
23   - add in the pam_cap and pam_netid modules
24
25 ====================================================================
26 Note, as of release 0.73, all checkins should be accompanied with a
27 Bug ID. The bug IDs relate to sourceforge IDs.. (Of course, nothing is
28 ever that simple. It turns out that at some point in Sourceforge's
29 history all of the bug ids got bumped by 100000, so pretty much if you
30 see a bug ID below that begins with a '1' and your attempted query
31 fails, try adding 100000 to the number and trying again. I believe
32 this only affects bugs before release 0.76.)
33
34 You can query the related bug description with the following URL:
35
36  http://sourceforge.net/tracker/index.php?func=detail&aid=XXXXXX&group_id=6663&atid=106663
37
38 Where you should replace XXXXXX with a bug-id.
39
40 For general documentation completion work, I'm doing it all with
41 respect to specific tasks. Open tasks are listed here:
42
43  http://sourceforge.net/pm/task.php?group_id=6663&group_project_id=2741&func=browse&set=open
44
45 If you have found a bug in Linux-PAM (including a documentation bug,
46 or a new feature request and/or patch), please consider filing such a
47 bug report - outstanding bugs are listed here:
48
49  http://sourceforge.net/tracker/?atid=106663&group_id=6663&func=browse
50
51 (to file another bug see the 'submit bug' button on that page).
52
53 ====================================================================
54
55 0.78: please submit patches for this section with actual code/doc
56       patches!
57
58 * pam_unix: severe denial of service possible with this module since
59   it locked too aggressively. Bug report and testing help from Sascha
60   Loetz. (Bug 664290 - agmorgan)
61 * getlogin was spoofable: "/tmp/" and "/dev/" have the same number of
62   characters, so 'ln /dev/tty /tmp/tty1 ; bash < /tmp/tty1 ; logname'
63   attacks could potentially spoof pam_wheel with the 'trust' module
64   argument into granting access to a luser. Also, pam_unix gave
65   odd error messages in such a situation (logname != uid). This
66   problem was found by David Endler of iDefense.com (Bug 667584 -
67   agmorgan).
68 * added my new DSA public key to the pgp.keys.asc file. Also included
69   a signed copy of my new public key (1024D/D41A6DF2) made with my old
70   key (1024/2A398175).
71
72 0.77: Mon Sep 23 10:25:42 PDT 2002
73
74 * documentation support for pdf files was not quite right -
75   installation was messed up.
76 * pam_wheel was too aggressive to grant access (in the case of the
77   'deny' option you want to pay attention to 'trust'). Fix from
78   Nalin (Bugs 476951, 476953 - agmorgan)
79 * account management support for: pam_shells, pam_listfile, pam_wheel
80   and pam_securetty (+ static module fix for pam_nologin). Patch from
81   redhat through Harald Welte (Bug 436435 - agmorgan).
82 * pam_wheel feature from Nalin - can use the module to provide wheel
83   access to non-root accounts. Also from Nalin, a bugfix related to
84   the primary group of the applicant is the 'wheel' group. (Bugs
85   476980, 476941 - agmorgan)
86 * pam_unix and pam_pwdb: by default turn off the SIGCHLD handler while
87   running the helper binary (patch from Nalin) added the "noreap"
88   module argument to both of these modules to turn off this new
89   default. Bugfix found by Silvan Minghetti for former module and
90   521314 checkin. (Bugs 476963, 521314 - agmorgan).
91 * updated CHANGELOG and configure.in for 0.77 work.
92
93 0.76: Mon Jul  8 21:44:59 PDT 2002
94
95 * pam_unix: fix for legacy crypt() support when the password entered
96   was long. (Bug 521314 - agmorgan).
97 * pam_access no longer include gethostname() prototype complaint from
98   David Lee (Bug 415423 - agmorgan).
99 * make pam_nologin more secure by default, added two new module
100   arguments etc. - acting on suggestion from Nico (Bug 419307 -
101   agmorgan)
102 * link in libpam to libpam_misc - since the latter uses functions in
103   the former it makes some sort of sense to do this (although, in the
104   static library case, I remain to be convinced). (Bug 565470 -
105   agmorgan).
106 * absorbed some of the proposed darwin (OS X) changes from Luke Howard
107   (of PADL software) - hopefully will get the rest (see Rob Braun's
108   534205) by 0.77 (Bug 491466 - agmorgan).
109 * README fix for pam_unix from Nalin (Bug 476971 - agmorgan).
110 * add support for building pdf files from the documentation - request
111   from 'lolive' (Bug 471377 - agmorgan).
112 * documented the equivalent '[..]' expressions for "required"
113   etc. Request from Ross Patterson (Bug 529078 - agmorgan).
114 * '[...]' parsing: document it and also fix it to support '\]' escape
115   sequence. Feature request from Russell Kliese (Bug 517064 -
116   agmorgan).
117 * pam_rootok: compilation warning noted by Tony den Haan wrt no
118   prototype for strcmp() (Bug 557322 - agmorgan).
119 * documentation: (a few of mine in passing) and app documentation
120   suggestions regarding PAM environment variables and module
121   documentation changes regarding the conversation function from Jenn
122   Vesperman (Bug 527821, 527965 - agmorgan)
123 * documentation: pam_time.sgml typo fixed, pam_motd exists now,
124   correct Red Hat comment about config files (Bugs 554274, 554261,
125   554182 - agmorgan)
126 * pam_limits: added '%' domain for maxlogins limiting, now '*' and @group
127   have the old meaning (every) and '%' the new one (all)
128   (Bug 533664 - baggins)
129 * pam_limits: put not so interesting log messages under debug arg
130   (Bug 533668 - baggins)
131 * pam_access: added the 'fieldsep=' argument (Bug 547051 - agmorgan),
132   made a PAM_RHOST of "" equivalent to NULL (Bug 547521 - agmorgan).
133 * pam_limits: keep well know behaviour of maxlogins default ('*') limit
134   (Bug 533664 - baggins)
135 * pam_unix: more from Nalin log password changes (Bug 517743 - agmorgan)
136 * pam_limits: make it use the priority value specified in config
137   (bug 530428 - baggins)
138 * pam_unix: removed broken code in password update code. Report from
139   Len Lattanzi (Bug 507379 - agmorgan)
140 * pam_mkhomedir: recurse directories. Patch from Nalin (Bug 476981 -
141   agmorgan)
142 * pam_limits can handle negative priority limits now (which can apply
143   to the superuser too) - based on patch from Nalin. Also cleanup the
144   error handling that was very sloppy before. Also, courtesy of Berend
145   De Schouwe get the math right on login counting (Bug 476990, 476987,
146   493294 - agmorgan)
147 * documentation: random typo fixes from Nalin and more stuff from me
148   (Bug 476949, Tasks 43507, 17426 - agmorgan)
149 * A Tru64 fix (given other stuff has already resolved this, it
150   actually just a comment actually) from 'Eddie'. (Bug 418450 -
151   agmorgan)
152 * pam_handlers: BSD fix from Dag-Erling Smørgrav and Anton Berezin
153   (Bug 486063 - agmorgan)
154 * added the dynamic/* directory to the distribution. If you go in
155   there after building the rest of the tree, you'll make a pam.so
156   object that can be used by something like a java runtime with
157   dlopen. Its not very well tested - caveat emptor. (Bug 232194 -
158   agmorgan)
159 * somehow pam_unix has started forcing the user prompt to be "login: ".
160   This is entirely inapropriate as it overrides PAM_USER_PROMPT. (Bug
161   486361 - agmorgan).
162 * added a static module helper library object includes a few changes
163   to examples/xsh.c for testing purposes (added a simple shell wrapper
164   for running xsh with the sandbox libraries), and also modified the
165   pam_rhosts_auth module to use this new library. (Bug 490938, 409852
166   - agmorgan).
167 * pam_unix: fix 'likeauth' to kill off the memory leak once and for all.
168   (Bug 483959 - vorlon)
169 * pam_unix: restore handling of 'likeauth' argument to a known working
170   state; prettify AUTH_RETURN macro; remove redundant argv checks in
171   pam_sm_setcred() (Bugs 483959, 113596 - vorlon)
172 * pam_cracklib: another try at implementing similar() from Harald
173   Welte and Nalin (Bugs 436053, 476957 - agmorgan)
174 * pam_access: default access.conf file contained a type (console
175   instead of LOCAL) fix from Nalin (Bug 476934 - agmorgan)
176 * pam_unix: fixed bizarre memory leak pointed out by Fernando Trias
177   (Bug 483959 - agmorgan)
178 * misc string comparison length checking changes from Nalin. Modules
179   touched, pam_cracklib, pam_listfile, pam_unix, pam_wheel (Bug 476947 -
180   agmorgan)
181 * pam_userdb: require that all of typed password matches that in
182   database report and fix from Vladimir Pastukhov. (Bug 484252 - agmorgan)
183 * pam_malloc: revived malloc debugging code, now tied to
184   --enable-memory-debug and added strdup() support (Bug 485454 - agmorgan)
185 * pam_tally: Nalin's fix for lastlog corruption (Bug 476985 - agmorgan)
186 * pam_rhosts: Nalin adds support for '+hostname', and zdd fix
187   compilation warning. (Bug 476986 - agmorgan)
188 * pam_motd: Nalin fixed compiler warning. (Bug 476938 - agmorgan)
189 * pam_pwdb: Solar Designer pointed out that there was a problem with
190   the compatibility support for md5 password hashing. (Bug 460717,
191   476961 - agmorgan)
192 * pam_issue: Nalin found segfaulting problems if the PAM_USER_PROMPT
193   is unset, found some similar problems with assumptions about
194   realloc. (Bug 476983 - agmorgan)
195 * pam_env: 'weichangyang of hotmail' pointed out a wild string with no
196   valid '\0' was leading to problems with sshd and suggested fix (Bug
197   473034 - agmorgan)
198 * MANDIR cleanup. It defaults to /usr/share/man, but can be overridden
199   using the --enable-mandir ./configure option, similarly for DOCDIR
200   from Nalin (Bug 476940 - agmorgan)
201 * pam_filter cleanup (including moving the filter directory) Nalin
202   and Harald Welte (Bugs 436057, 476970 - agmorgan)
203 * db3 is now recognized as a libdb candidate (Bug 435764 - agmorgan)
204 * more changes (extracted from redhat version) courtesy of
205   Harald Welte (Bugs pam_limits=436061, pam_lastlog=436060,
206   pam_mkhomedir/pam_env=435991 - agmorgan)
207 * fix for legacy behavior of pam_setcred and pam_close_session in
208   the case that pam_authenticate and pam_open_session hadn't been
209   called - bug report from Seongwan Park. (Bug 468724 - agmorgan)
210 * some BSD updates and fixes from Mark Murray - including a slightly
211   more robust conversation function and some minimization of gcc
212   warnings. (Bugs 449203,463984 - agmorgan)
213 * verified that the setcred stack didn't suffer from the bug I was
214   nervous about, add a new module pam_debug to help me test this.
215   fixed a libpam/pam_dispatch.c instrumentation line that I tripped
216   over when testing. Also restructured pam_warn to help here (Bug
217   424315 - agmorgan).
218 * pam_unix/support.c: sample use of reentrant NSS function.  Not yet active,
219   because modules do not include _pam_aconf_h! (Bug 440107 - vorlon)
220 * doc/Makefile changes - use $(mandir) [courtesy Harald Welte] (Bug
221   435760) and add some rules to make/delete the draft rfc I've been
222   working on (Task 17426 - agmorgan)
223 * pam_modules.sgml: sourceforge has changed its CVS viewing software
224   (Bug 460491 - agmorgan)
225 * pam_unix_passwd: got rid of an annoying warning (Bug 461089 - agmorgan)
226 * configure.in, _pam_aconf.h.in: set the stage for fully reentrant PAM
227   modules, with some infrastructure to detect getxxbyxx_r() functions
228   (Bug 440107 - vorlon)
229 * pam_unix: removed superfluous use of static variables in md5 and bigcrypt
230   routines, bringing us a step closer to thread-safeness.  Eliminated
231   some variable indirection along the way.  (Bug 440107 - vorlon)
232 * pam_tally: remove #include of stdlib.h, which isn't needed by anything
233   found in this module.  Can be readded if we find a real need for it at
234   a later date. (Bug 436432 - vorlon)
235 * pam_tally: added an #include (was it really needed?) and made the
236   pam_tally app install (with more pretty printing and a corrected
237   Makefile dependency) motivated by a (red hat diff) courtesy of Harald
238   Welte (Bug 436432 - agmorgan)
239 * configure.in changes to help support non-Linux environments courtesy
240   of Scott T. Emery (Bug 422563 - agmorgan)
241 * made a pam_cracklib enhancement to interpret -ve limits in a
242   sensible fashion contributed by Werner Puschitz (Bug 413162 -
243   agmorgan)
244 * another fix for the latest number of rlimits available to pam_limits
245   (Bug 424060 - agmorgan)
246 * removed stale link from pam_pwdb documentation (Bug 433460 - agmorgan)
247 * pam_appl.sgml change - more discussion of choosing a service name
248   (Bug 417512 - agmorgan)
249 * more specific linking requirements for -lndbm for pam_userdb - from
250   David Lee (Bug 417339 - agmorgan)
251 * a large number of small changes to make AIX support better (Bug
252   416229 - agmorgan)
253 * $(MAKE) instead of 'make' - from Scott T. Emery (Bug 422144 -
254   agmorgan)
255 * c++ header fixes for pam_misc.h and pam_client.h - from Alexandre
256   Sagala (Bug 420270 - agmorgan)
257 * pam_access fixes - looks out for trailing '.' - from Carlo Marcelo
258   Arenas Belon (Bug 419631 - agmorgan)
259 * don't zero out password strings during pam_unix's password changing
260   function (Bug 419803 - vorlon)
261 * propagate some definitions to the _pam_aconf.h file - from David Lee
262   (Bug 415419 - agmorgan)
263 * solaris GCC OS_CFLAGS change from David Lee (Bug 415412 - agmorgan)
264 * added a comment to this CHANGELOG to explain why most of the bugids
265   used below appear not to be known to sourceforge [try adding 100000
266   to the bugid number.] (Bug 414943 - agmorgan)
267 * bumped version numbers and also added support for SONAME defines
268   that appear not to have survived the great autoconf experiment (Bug
269   414669 - agmorgan).
270
271 0.75: Sat Apr  7 23:10:50 PDT 2001
272
273                           ** WARNING **
274
275 This release contains backwardly incompatible changes to
276 libpam. Prior versions were buggy - see bugfix for Bug 129775.
277
278                           ** WARNING **
279
280 * made 0.75 release (Bug 414665 - agmorgan)
281 * pam_pwdb has been removed from the suggested pam.conf template. I've
282   replaced it with pam_unix. (Bug 227565 - agmorgan)
283 * pam_limits - Richard M. Yumul reported that "<domain> -" didn't
284   work, first fix suggested by Werner Puschitz (Bug 404953 - agmorgan)
285 * Nicolay Pelov suggested a simple fix for freebsd support (Bug 407282
286   - agmorgan)
287 * Michel D'HOOGE submitted documentation fixes (Bug 408961 - agmorgan)
288 * fix for module linking directions (Bug 133545 - agmorgan)
289 * fix for glibc-2.2.2 compilation of pam_issue (Bug 133542 - agmorgan)
290 * fix pam_userdb to make and link both .o files it needs - converse()
291   wasn't being linked! (Bug 132880 - agmorgan)
292 * added some sys-admin documentation for the pam_tally module (Bug
293   126210 - agmorgan).
294 * added a link to module examples from the module writers doc (Bug
295   131192 - agmorgan).
296 * fixed a small security hole (more of a user confusion issue) with
297   the unix and pwdb password helper binaries. The beef is described in
298   the bug report, but no uid change was possible so no-one should
299   think they need to issue a security bulletin over this one! (Bug
300   112540 - agmorgan)
301 * pam_lastlog needs to be linked with -lutil, also removed ambiguity
302   from sysadmin guide regarding this module being a 'session' module
303   (Bug 131549 - agmorgan).
304 * pam_cracklib needs to be linked with -lcrypt (old password checking)
305   (Bug 131601 - agmorgan).
306 * fixes for static library builds and also the examples when linked
307   with the debugging build of the libraries. (Bug 131783 - agmorgan)
308 * fixed URL for original RFC to a cached kernel.org file. (Bug 131503
309   - agmorgan)
310 * quoted the $CRACKLIB_DICTPATH test in configure.in (Bug 130130 -
311   agmorgan).
312 * improved handling of the setcred/close_session and update chauthtok
313   stack. *Warning* This is a backwardly incompatable change, but 'more
314   sane' than before. (Bug 129775 - agmorgan)
315 * bumped the version number, and added some code to assist in making
316   documentation releases (Bug 129644 - agmorgan).
317
318 0.74: Sun Jan 21 22:36:08 PST 2001
319
320 * made 0.74 release (Bug 129642 - agmorgan)
321 * libpam - cleaned up a few non-static functions to be static and added
322   support for libpam to enforce things like pam_[gs]et_data() and
323   AUTHTOK rules for using the API. Also documented pam_[gs]et_item()
324   a little better including return codes (Bugs 129027, 128576 -
325   agmorgan).
326 * pam_access - fixed the non-default config file option (Bug 127561 -
327   agmorgan)
328 * pam.8 manual page clarified with respect to the default location for
329   finding modules, also added some text describing the [...] control
330   syntax. (Bug 127625 - agmorgan)
331 * md5.h ia64 fixes for pam_unix and pam_pwdb (Bug 127700 - agmorgan)
332 * removed requirement for c++ from the configure{.in,} files (Bug
333   128298 - agmorgan)
334 * removed subdirectories from man page redirections (124396 - baggins)
335 * per David Lee, fixed non-POSIX shell command in modules/pam_filter/Makefile
336   (Bug 126440 - vorlon)
337 * modify format of pam_unix log messages to include service name
338   (Bug 126423 - vorlon)
339 * prevent pam_unix from logging unknown usernames (Bug 126431 - vorlon)
340 * changed format of pam_unix 'authentication failure' log messages to make
341   them clearer and more consistent (Bug 126036 - vorlon)
342 * improved portability of pam_unix by eliminating Linux-specific utmp
343   defines in PAM_getlogin() (Bug 125704 - vorlon)
344 * removed static variables from pam_tally (Bug 117434 - agmorgan)
345 * added copyright message to pam_access module from original logdaemon
346   sources (Bug 125022 - agmorgan)
347 * configure.in - removed the GCC -Wtraditional flag (Bug 124923 - agmorgan)
348 * pam_mail - use PAM_PATH_MAILDIR as the location of mail spool
349   (Bug 124397 - baggins)
350 * _pam_aconf.h.in, configure.in - added PAM_PATH_MAILDIR set via
351   --with-mailspool=dir option (default is _PAM_MAILDIR if defined
352   in paths.h otherwise /var/spool/mail (Bug 124397 - baggins)
353 * removed unnecessary CVS Log tags from all over the source
354   (Bug 124391 - baggins)
355 * pam_tally - check for PAM_TTY if PAM_RHOST is not set when writing
356   to faillog (Bug 124394 - baggins)
357 * use O_NOFOLLOW if available when opening debug log (Bug 124385 - baggins)
358 * pam_cracklib - removed comments about pam_unix not working with
359   pam_cracklib, added information about use_authtok parameter
360   (Bug 124388 - baggins)
361 * pam_userdb - fixed wrong definition of struct pam_module (was pam_wheel)
362   (Bug 124386 - baggins)
363 * fixed example/Makefile include path (Bug 124187, 127563(?) - agmorgan)
364 * pam_userdb compiles on RH5x. Also removed circular dependency on
365   configure.in. Also bumped revision number to 0.74. (Bug 124136 -
366   agmorgan)
367
368 0.73: Sat Dec  2 00:04:04 PST 2000
369
370 * updated documentaion revisions and added 'make release' support
371   to the top level Makefile (Bug 124132 - agmorgan).
372 * documented Qmail support in pam_mail (Bug 109219 - baggins)
373 * add change_uid option to pam_limits, and set real uid only if
374   this option is present (Bug 124062 - baggins)
375 * pam_limits - set real uid to the user for who we set limits.
376   (Bug 123972 - baggins)
377 * removed static variables from pam_limits (thread safe now). (Bug
378   117450 - agmorgan).
379 * removed static variable from pam_wheel (module should be thread safe
380   now). (Bug 112906 - agmorgan)
381 * added support for '/' symbols in pam_time and pam_group config files
382   (support for modern terminal devices). Fixed infinite loop problem
383   with '\\[^\n]' in these files. (Bug 116076 - agmorgan)
384 * avoid potential SIGPIPE when writing to helper binaries with (Bug
385   123399 - agmorgan)
386 * replaced bogus logic in the pam_cracklib module for determining if
387   the replacement is too similar to the old password (Bug 115055 -
388   agmorgan)
389 * added accessconf=<filename> feature to pam_access - request from
390   Aldrin Martoq and Meelis Roos (Bugs 111927,117240 - agmorgan)
391 * fix for pam_limit module not dealing with all limits Adam J. Richter
392   (Bug 119554 - agmorgan)
393 * comment fix describing fail_delay callback in _pam_types.h (Bug
394   112646 - agmorgan)
395 * "likeauth" fix for pam_unix and pam_pwdb which (Bug 113596 - agmorgan)
396 * fix for pam_unix (support.c) to avoid segfault with NULL password
397   (Bug 113238 - vorlon)
398 * fix to pam_unix_passwd: try repeatedly to get a lock on the password
399   file, instead of failing immediately (Bug 108845 - fix vorlon)
400 * fix to pam_shells: logged information was not formatted correctly
401   (extra comma) (Bug 111491 - fix vorlon)
402 * fix for C++ application support (Bug 111645 - fix agmorgan)
403 * fix for typo in pam_client.h (Bug 111648 - fix agmorgan)
404 * removal of -lpam from pam_mkhomedir Makefile (Bug 116380 - fix agmorgan)
405 * autoconf support [Task ID 15788, Bug ID 108297 - agmorgan with help!]
406  - bugfix for libpamc.h include file [Bug ID 117476 - agmorgan]
407  - bugfix for pam_filter.h inclusion [Bug ID 117474 - agmorgan]
408
409 0.72: Mon Dec 13 22:41:11 PST 1999
410
411 * patches from Debian (Ben Collins): pam_ftp supports event driven
412   conversations now; pwdb_chkpwd cleanup; pam_warn static compile fix;
413   user_db compiler warnings removed; debian defs file; pam_mail can
414   now be used as a session module
415 * ndbm compilation option for user_db module (fix explained by Richard Khoo)
416 * pam_cracklib bug fix
417 * packaging fixes & build from scratch stuff (Konst Bulatnikov & Frodo
418   Looijaard)
419 * -ldl appended to the libpam.so compilation make rule. (Charles Seeger)
420 * Red Hat security patch for pam_pwdb forwarded by Debian! (Ben
421   Collins. Fix provided by Andrey as it caught the problem earlier in the
422   code.)
423 * heuristic to prevent leaking filedescriptors to an agent. [This needs
424   to be better supported perhaps by an additional libpamc API function?]
425 * pam_userdb segfault fix from (Ben Collins)
426 * PAM draft spec extras added at request of 'sen_ml'
427
428 0.71: Sun Nov  7 20:21:19 PST 1999
429
430 * added -lc to linker pass for pam_nologin module (glibc is weird).
431 * various header changes to lower the number of warnings on glibc
432   systems (Dan Yefimov)
433 * merged a bunch of Debian fixes/patches/documentation (Ben Collins)
434   things touched: libpam (minor); doc/modules/pam_unix.sgml; pam_env
435   (plus docs); pam_mkhomedir (new module for new home directories on
436   the fly...); pam_motd (new module); pam_limits (adjust to match
437   docs); pam_issue (new module + doc) [Some of these were also
438   submitted by Thorsten Kukuk]
439 * small hack to lower the number of warnings that pam_client.h was
440   generating.
441 * debian and SuSE apparently can use the pam_ftp module, so
442   removed the obsolete comment about this from the docs. (Thorsten
443   Kukuk)
444
445 0.70: Fri Oct  8 22:05:30 PDT 1999
446
447 * bug fix for parsing of value=action tokens in libpam/pam_misc.c was
448   segfaulting (Jan Rekorajski and independently Matthew Melvin)
449 * numerous fixes from Thorsten Kukuk (icluding much needed fixes for
450   bitrot in modules and some documentation) that got included in SuSE 6.2.
451 * reentrancy issues in pam_unix and pam_cracklib resolved (Jan Rekorajski)
452 * added hosts_equiv_rootok module option to pam_rhosts module (Tim Berger)
453 * added comment about 'expose_account' module argument to admin and
454   module writers' docs (request from Michael K Johnson).
455 * myriad of bug fixes for libpamc - library now built by default and
456   works with the biomouse fingerprint scanner agent/module
457   (distributed separately).
458
459 0.69: Sun Aug  1 20:25:37 PDT 1999
460
461 * c++ header #ifdef'ing for pam_appl.h (Tuomo Pyhala)
462 * added pam_userdb module (Cristian Gafton)
463 * minor documentation changes
464 * added in revised pam_client library (libpamc). Not installed by
465   default yet, since the example agent/module combo is not very secure.
466 * glibc fixes (Thorsten Kukuk, Adam J. Richter)
467
468 0.68: Sun Jul  4 23:04:13 PDT 1999
469
470 * completely new pam_unix module from Jan Rekorajski and Stephen Langasek
471 * Jan Rekorajski pam_mail - support for Maildir format mailboxes
472 * Jan Rekorajski pam_cracklib - support for old password comparison
473 * Jan Rekorajski bug fix for pam_pwdb setcred reusing auth retval
474 * Andrey's pam_tally patch (lstat -> fstat)
475 * Robert Milkowski's additional pam_tally patches to **change format of
476   /var/log/faillog** to one from shadow-utils, add new option "per_user"
477   for pam_tally module, failure time logging, support for fail_line
478   field, and support for fail_locktime field with new option
479   no_lock_time.
480 * pam_tally: clean up the tally application too.
481 * Marcin Korzonek added process priority settings to pam_limits (bonus
482   points for adding to documentation!)
483 * Andrey's pam_pwdb patch (cleanup + md5 endian fubar fix)
484 * more binary prompt preparations (make misc conv more compatible with spec)
485 * modified callback hook for fail delay to be more useful with event
486   driven applications (changed function prototype - suspect no one
487   will notice). Documented this in app developer guide.
488 * documentation for pam_access from Tim Berger
489 * syntax fixes for the documentation - a long time since I've built it :*(
490   added some more names to the CREDITS file.
491
492 0.67: Sat Jun 19 14:01:24 PDT 1999
493
494 * [dropped libpam_client - libpamc will be in the next release and
495    conforms to the developing spec in doc/specs/draft-morgan-pam.raw.
496    Sorry if you are keeping a PAM tree in CVS. CVS is a pain for
497    directories, but this directory was actually not referenced by
498    anything so the disruption should be light.]
499 * updates to pam_tally from Tim
500 * multiple updates from Stephen Langasek to pam_unix
501 * pam_filter had some trouble compiling (bug report from Sridhar)
502 * pam_wheel now attempts to identify the wheel group for the local
503   system instead of blindly assuming it is gid=0. In the case that
504   there is no "wheel" group, we default to assuming gid=0 is what was
505   meant - former behavior. (courtesy of Sridhar)
506 * NIS+ changes to pam_unix module from Dmitry O Panov
507 * hopefully, a fix for redefinition of LOG_AUTHPRIV (bug report Luke
508   Kenneth Casson Leighton)
509 * fix for minor typo in pam_wheel documentation (Jacek Kopecky)
510 * slightly more explanation of the [x=y] pam.conf syntax in the sys
511   admin guide.
512
513 0.66: Mon Dec 28 20:22:23 PST 1998 <morgan@linux.kernel.org>
514
515 * Started using cvs to keep track of changes to Linux-PAM.  This will
516   likely break some of the automated building stuff (RPMs etc..).
517 * security bug fix to pam_unix and pam_tally from Andrey.
518 * modules make file is now more automatic.  It should be possible to
519   unpack an external module in the modules directory and have it automatically
520   added to the build process.  Also added a modules/download-all script
521   that will make such downloading easier.  I'm happy to receive patches to
522   this file, informing the distribution of places from which to enrich itself.
523 * removed pam_system_log stuff.  Thought about it long and hard: a
524   bad idea.  If libc cannot guarantee a thread safe syslog, it needs
525   to be fixed and compatibility with other PAM libraries was
526   unnecessarily strained.
527 * SAG documentation changes: Seth Chaiklin
528 * rhosts: problems with NIS lookup failures with the root-uid check.
529   As a work-around, I've partially eliminated the need for the lookup
530   by supplying two new arguments: no_uid_check, superuser=<username>.
531   As a general rule this is more pluggable, since this module might be
532   used as an authentication scheme for a network service that does not
533   need root privilege...
534 * authenticate retval -> setcred for pam_pwdb (likeauth arg).
535 * pam_pwdb event driven support
536 * non openlog pam_listfile logging
537 * BUGFIX: close filedescriptor in pam_group and pam_time (Emmanuel Galanos)
538 * Chris Adams' mailhash change for pam_mail module
539 * fixed malloc failure check in pam_handlers.c (follow up to comment
540   by Brad M. Garcia).
541 * update to _pam_compat.h (Brad M. Garcia)
542 * support static modules in libpam again (Brad M. Garcia)
543 * libpam/pam_misc.c for egcs to grok the code (Brad M. Garcia)
544 * added a solaris-2.5.1 defs file (revived by Derrick J Brashear)
545 * pam_listfile logs failed attempts
546 * added a comment (Michael K Johnson pointed it out) about sgml2latex
547   having a new syntax.  I'll make it the change real when I upgrade...
548 * a little more text to the RFC, spelling fix from William J Buffam.
549 * minor changes to pam_securetty to accommodate event driven support.
550
551 0.65: Sun Apr  5 22:29:09 PDT 1998 <morgan@linux.kernel.org>
552
553 * added event driven programming extensions to libpam
554  - added PAM_INCOMPLETE handling to libpam/pam_dispatch.c
555  - added PAM_CONV_AGAIN which is a new conversation response that
556    should be mapped to PAM_INCOMPLETE by the module.
557  - ensured that the pam_get_user() function can resume
558  - changes to pam_strerror to accommodate above return codes
559  - clean up _pam_former_state at pam_end()
560  - ensured that former state is correctly initialized
561  - added resumption tests to pam_authenticate(), pam_chauthtok()
562  - added PAM_FAIL_DELAY item for pausing on failure
563
564 * improved _pam_macros.h so that macros can be used as single commands
565   (Andrey)
566
567 * reimplemented logging to avoid bad interactions with libc.  Added
568   new functions, pam_[,v]system_log() to libpam's API.  A programmer
569   can check for this function's availablility by checking if
570   HAVE_PAM_SYSTEM_LOG is #defined.
571
572 * removed the reduce conflict from pam_conv1 creation -- I can sleep
573   again now. :^]
574
575 * made building of static and dynamic libpam separate.  This is
576   towards making it possible to build both under Solaris (for Derrick)
577
578 * made USE_CRACKLIB a condition in unix module (Luke Kenneth Casson Leighton)
579
580 * automated (quiet) config installation (Andrey)
581
582 0.64: Thu Feb 19 23:30:24 PST 1998 Andrew Morgan <morgan@linux.kernel.org>
583
584 * miscellaneous patches for building under Solaris (Derrick J Brashear)
585
586 * removed STATIC support from a number of module Makefiles.  Notably,
587   these modules are those that use libpwdb and caused difficulties
588   satisfying the build process. (Please submit patches to fix this...;)
589
590 * reomved the union for binary packet conversations from
591   (_pam_types.h).  This is now completely implemented in libpam_client.
592
593 * Andrey's patch for working environment variable handling in
594   sh_secret module.
595
596 * made the libpam_misc conversation function a bit more flexible with
597   respect to binary conversations.
598
599 * added top level define (DEBUG_REL) for compiling in the form of
600   a debugging release.  I use this on a Red Hat 4.2 system with little
601   chance of crashing the system as a whole.  (Andrey has another
602   implementation of this -- with a spec file to match..)
603
604 0.63: Wed Jan 28 22:55:30 PST 1998 Andrew Morgan <morgan@linux.kernel.org>
605
606 * added libpam_client "convention" library.  This makes explicit the
607   use of PAM_BINARY_PROMPT.  It is a first cut, so don't take it too
608   seriously yet.  Comments/suggestions for improvements are very
609   welcome.  Note, this library does not compile by default.  It will
610   be enabled when it is judged stable.  The library comes with two
611   module/agent pairs and can be used with ssh using a patch available
612   from my pre-release directory [where you got this file.]
613
614 * backward compatibility patch for libpam/pam_handlers.c (PAM_IGNORE
615   was working with neither "requistie" nor "required") and a DEBUG'ing
616   compile time bug with pam_dispatch.c (Savochkin Andrey Vladimirovich)
617
618 * minor Makefile change from (Savochkin Andrey Vladimirovich)
619
620 * added pam_afsauth, pam_afspass, pam_restrict, and pam_syslog hooks
621   (Derrick J Brashear)
622
623 * pam_access use of uname(2) problematic (security problem
624   highlighted by Olaf Kirch).
625
626 * pam_listfile went a bit crazy reading group membersips (problem
627   highlighted by Olaf Kirch and patched independently by Cristian
628   Gafton and Savochkin Andrey Vladimirovich)
629
630 * compatibility hooks for solaris and hpux (Derrick J Brashear)
631
632 * 64 bit Linux/alpha bug fixed in pam_rhosts (Andrew D. Isaacson)
633
634 0.62: Wed Jan 14 14:10:55 PST 1998   Andrew Morgan <morgan@linux.kernel.org>
635
636 * Derrick J Brashear's patches: adds the HP stuff missed in the first
637   patch; adds SunOS support; adds support for the Solaris native ld
638   instead of requiring gnu ld.
639
640 * last line of .rhosts file need not contain a newline. (Bug reported by
641   Thompson Freeman.)
642
643 0.61: Thu Jan  8 22:57:44 PST 1998  Andrew Morgan <morgan@linux.kernel.org>
644
645 * complete rewrite of the "control flag" logic.  Formerly, we were
646   limited to four flags: requisite, required, sufficient, optional.
647   We can now use these keywords _and_ a great deal more besides.
648   The extra logic was inspired by Vipin Samar, a preliminary patch was
649   written by Andy Berkheimer, but I "had some ideas of my own" and
650   that's what I've actually included.  The basic idea is to allow the
651   admin to custom build a control flag with a series of token=value
652   pairs inside square brackets.  Eg., '[default=die success=ok]' which
653   is pretty close to a synonym for 'requisite'.  I'll try to document it
654   better in the sys-admin guide but I'm pretty sure it is a change for
655   the better....  If what is in the sys-admin guide is not good enough
656   for you, just take a look at the source for libpam ;^)
657
658 0.59: Thu Jan  8 22:27:22 PST 1998 Andrew Morgan <morgan@linux.kernel.org>
659
660 * better handling of empty lines in .rhosts file.  (Formerly, we asked
661   the nameserver about them!) Fix from Hugh Daschbach.
662
663 * _broke_some_binary_compatibility_ with previous versions to become
664   compliant with X/Open's XSSO spec.  Specifically, this has been
665   by changing the prototype for pam_strerror().
666
667 * altered the convention for the conversation mechanism to agree
668   with that of Sun.  (number of responses 'now=' number of messages
669   with help from Cristian for finding a bug.. Cristian also found a
670   nasty speradic segfault bug -- Thanks!)
671
672 * added NIS+ support to pam_unix_*
673
674 * fixed a "regular file checking" problem with the ~/.rhosts sanity
675   check.  Added "privategroup" option to permit group write permission
676   on the ~/.rhosts file in the case that the group owner has the same
677   name as the authenticating user.  :*) "promiscuous" and "suppress"
678   were not usable!
679
680 * added glibc compatibility to pam_rhosts_auth (protected __USE_MISC
681   with #ifndef since my libc already defines it!).
682
683 * Security fix from Savochkin Andrey Vladimirovich with suggested
684   modification from Olaf Seibert.
685
686 * preC contains mostly code clean-ups and a number of changes to
687   _pam_macros.
688
689 0.58: whenever
690
691 * pam_getenvlist() has a more robust definition (XSSO) than was previously
692   thought.  It would seem that we no longer need pam_misc_copy_env()
693   which was there to provide the robustness that pam_getenvlist()
694   lacked before...
695
696   Accordingly, I have REMOVED the prototype from libpam_misc. (The
697   function, however, will remain in the library as a wrapper for
698   legacy apps, but will likely be removed from libpam_misc-1.0.) PLEASE
699   FIX YOUR APPS *BEFORE* WE GET THERE!
700
701 * Alexy Nogin reported garbage output from pam_env in the case of
702   a non-existent environment variable.
703
704 * 'fixed' pwdb compilation for pam_wheel.  Not very cleanly
705   done.. Mmmm. Should really clean up the entire source tree...
706
707 * added prototypes for mapping functions
708
709                         <**WARNING**>
710
711   various constants have had there names changed.  Numerical values have
712   been retained but be aware some source old modules/applications will
713   need to be fixed before recompilation.
714
715                         </**WARNING**>
716
717 * appended documentation to README for pam_rhosts module (Nicolai
718   Langfeldt).
719
720 * verified X/Open compatibility of header files - note, where we differ
721   it is at the level of compilation warnings and the use of 'const char *'
722   instead of 'char *'.  Previously, Sun(X/open) have revised their spec
723   to be more 'const'-ervative in the light of comments from Linux-PAM
724   development.
725
726 * Ooops! PAM_AUTHTOKEN_REQD should have been PAM_NEW_AUTHTOK_REQD.
727
728         changed: pam_pwdb(pam_unix_acct) (also bug fix for
729         _shadow_acct_mgmt_exp() return value), pam_stress,
730         libpam/pam_dispatch, blank, xsh.
731
732 * New: PAM_AUTHTOK_EXPIRED - password has expired.
733
734 * Ooops! PAM_CRED_ESTABLISH (etc.) should have been PAM_ESTABLISH_CRED
735   etc... (changed - this may break some people's modules - PLEASE TAKE
736   NOTE!)
737         changed: pam_group, pam_mail, blank, xsh; module and appl
738         docs, pam_setcred manual page.
739
740 * renamed internal _pam_handle structure to be pam_handle as per XSSO.
741
742 * added PAM_RADIO_TYPE  (for multiple choice input method).  Also
743   added PAM_BINARY_{MSG,PROMPT} (for interaction out of sight of user
744   - this could be used for RSA type authentication but is currently
745   just there for experimental purposes).  The _BINARY_ types are now
746   usable with hooks in the libpam_misc conversation function. Still
747   have to add PAM_RADIO_TYPE.
748
749 * added pam_access module (Alexei Nogin)
750
751 * added documentation for pam_lastlog.  Also modified the module to
752   not (by default) print "welcome to your new account" when it cannot
753   find a utmp entry for the user (you can turn this on with the
754   "never" argument).
755
756 * small correction to the pam_fail_delay manual page.  Either the appl or
757   the modules header file will prototype this function.
758
759 * added "bigcrypt" (DEC's C2) algorithm(0) to pam_pwdb. (Andy Phillips)
760
761 * *BSD tweaking for various #include's etc. (pam_lastlog, pam_rhosts,
762   pam_wheel, libpam/pam_handlers). (Michael Smith)
763
764 * added configuration directory $SCONFIGED for module specific
765   configuration files.
766
767 * added two new "linked" man pages (pam.conf(8) and pam.d(8))
768
769 * included a reasonable default for /etc/pam.conf (which can be
770   translated to /etc/pam.d/* files with the pam_conv1 binary)
771
772 * fixed the names of the new configuration files in
773    conf/pam_conv1/pam_conv.y
774
775 * fixed make check.
776
777 * pam_lastlog fixed to handle UID in virgin part of /var/log/lastlog
778   (bug report from Ronald Wahl).
779
780 * grammar fix in pam_cracklib
781
782 * segfault avoided in pam_pwdb (getting user). Updating of passwords
783   that are directed to a "new" database are more robust now (bug noted
784   by Michael K. Johnson).  Added "unix" module argument for migrating
785   passwords from another database to /etc/passwd. (documentation
786   updated).  Removed "bad username []" warning for empty passwords -
787   on again if you supply the 'debug' module argument.
788
789 * ctrl-D respected in conversation function (libpam_misc)
790
791 * Removed -DPAM_FAIL_DELAY_ON from top-level Makefile. Nothing in
792   the distribution uses it.  I guess this change happened a while
793   back, basically I'm trying to make the module parts of the
794   distribution "source compatible" with the RFC definition of PAM.
795   This implementation of PAM is a superset of that definition. I have
796   added the following symbols to the Linux-PAM header files:
797
798         PAM_DATA_SILENT (see _pam_types.h)
799         HAVE_PAM_FAIL_DELAY (see _pam_types.h)
800         PAM_DATA_REPLACE (see _pam_modules.h)
801
802   Any module (or application) that wants to utilize these features,
803   should check (#ifdef) for these tokens before using the associated
804   functionality.  (Credit to Michael K. Johnson for pointing out my
805   earlier omission: not documenting this change :*)
806
807 * first stab at making modules more independent of full library
808   source.  Modules converted:
809         pam_deny
810         pam_permit
811         pam_lastlog
812         pam_pwdb
813
814 * pam_env.c: #include <errno.h> added to ease GNU libc use. (Michael
815   K. Johnson)
816
817 * pam_unix_passwd fixes to shadow aging code (Eliot Frank)
818
819 * added README for pam_tally
820
821 0.57: Fri Apr  4 23:00:45 PST 1997  Andrew Morgan <morgan@parc.power.net>
822
823 * added "nodelay" argument to pam_pwdb.  This can be used to turn off
824   the call to pam_fail_delay that takes effect when the user fails to
825   authenticate themself.
826
827 * added "suppress" argument to pam_rhosts_auth module. This will stop
828   printing the "rlogin failure message" when the user does not have a
829   .rhosts file.
830
831 * Extra fixes for FAKEROOT in Makefiles (Savochkin Andrey
832   Vladimirovich)
833
834 * pam_tally added to tree courtesy of Tim Baverstock
835
836 * pam_rhosts_auth was failing to read NFS mounted .rhosts
837   files. (Fixed by Peter Allgeyer). Refixed and further enhanced
838   (netgroups) by Nicolai Langfeldt. [Credit also to G.Wilford for some
839   changes that were not actually included..]
840
841 * optional (#ifdef PAM_READ_BOTH_CONFS) support for parsing of pam.d/
842   AND pam.conf files (Elliot Lee).
843
844 * Added (and signed) Cristian's PGP key. (I've never met him, but I am
845   convinced the key belongs to the guy that is making the PAM rpms and
846   also producing libpwdb. Please note, I will not be signing anyone
847   else's key without a personal introduction..)
848
849 * fixed erroneous syslog warning in pam_listfile (Savochkin Andrey
850   Vladimirovich, whole file reformatted by Cristian)
851
852 * modified pam_securetty to return PAM_IGNORE in the case that the user's
853   name is not known to the system (was previously, PAM_USER_UNKNOWN). The
854   Rationale is that pam_securetty's sole purpose is to prevent superuser
855   login anywhere other than at the console. It is not its concern that the
856   user is unknown - only that they are _not_ root. Returning
857   PAM_IGNORE, however, insures that the pam_securetty can never be used to
858   "authenticate" a non-existent user. (Cristian Gafton with bug report from
859   Roger Hu)
860
861 * Modified pam_nologin to display the no-login message when the user
862   is not known. The return value in this case is still PAM_USER_UNKNOWN.
863   (Bug report from Cristian Gafton)
864
865 * Added NEED_LCKPWD for pam_unix/ This is used to define the locking
866   functions and should only be turned on if you don't have them in
867   your libc.
868
869 * tidied up pam_lastlog and pam_pwdb: removed function that was never used.
870
871 * Note for package maintainers: I have added $(FAKEROOT) to the list of
872   environment variables.  This should help greatly when you build PAM
873   in a subdirectory.  I've gone through the tree and tried to make
874   everything compatible with it.
875
876 * added pam_env (courtesy of Dave Kinchlea)
877
878 * removed pam_passwd+ from the tree.  It has not been maintained in a
879   long time and running a shell script was basically insecure. I've
880   indicated where you can pick up the source if you want it.
881
882 * #define HAVE_PAM_FAIL_DELAY . Applications can conditionally compile
883   with this if they want to see if the facility is available. It is
884   now always available. (corresponding compilation cleanups..)
885
886 * _pam_sanitize() added to pam_misc. It purges the PAM_AUTHTOK and
887   PAM_OLDAUTHTOK items. (calls replaced in pam_auth and pam_password)
888
889 * pam_rhosts now knows about the '+' entry. Since I think this is a
890   dangerous thing, I have required that the sysadmin supply the
891   "promiscuous" flag for it in the corresponding configuration file
892   before it will work.
893
894 * FULL_LINUX_PAM_SOURCE_TREE exported from the top level make file.
895   If you want to build a module, you can test for this to determine if
896   it should take its directions from above or supply default locations
897   for installation. Etc.
898
899 0.56: Sat Feb 15 12:21:01 PST 1997 <morgan@parc.power.net>
900
901 * pam_handlers.c can now interpret the pam.d/ service config tree:
902         - if /etc/pam.d/ exists /etc/pam.conf is IGNORED
903           (otherwise /etc/pam.conf is treated as before)
904         - given /etc/pam.d/
905           . config files are named (in lower case) by service-name
906           . config files have same syntax as /etc/pam.conf except       
907             that the "service-name" field is not present. (there
908             are thus three manditory fields (and arguments are
909             optional):
910
911                 module-type  control-flag  module-path  optional-args...
912
913             )
914
915 * included conf/pam_conv1 for converting pam.conf to a pam.d/ version
916   1.0 directory tree. This program reads a pam.conf file on the
917   standard input stream and creates ./pam.d/ (in the local directory)
918   and fills it with ./pam.d/"service-name" files.
919
920         *> Note: It will fail if ./pam.d/ already exists.
921
922   PLEASE REPORT ANY BUGS WITH THIS CONVERSION PROGRAM... It currently
923   cannot retain comments from the old conf file, so take care to do this
924   by hand. Also, please email me with the fix that makes the
925   shift/reduce conflict go away...
926
927 * Added default module path to libpam for modules (see pam_handlers.c)
928   it makes use of Makfile defined symbol: DEFAULT_MODULE_PATH which is
929   inhereted from the defs/* variable $(SECUREDIR). Removed module
930   paths from the sample pam.conf file as they are no longer needed.
931
932 * pam_pwdb can now verify read protected passwords when it is not run
933   by root.  This is via a helper binary that is setuid root.
934
935 * pam_permit now prompts for a username if it is not already determined
936
937 * pam_rhosts now honors "debug" and no longer hardwire's "root" as the
938   superuser's name.
939
940 * pam_securetty now honors the "debug" flag
941
942 * trouble parsing extra spaces fixed in pam_time and pam_group
943
944 * added Michael K. Johnson's PGP key to the pgp.keys.asc list
945
946 * pam_end->env not being free()'d: fixed
947
948 * manuals relocated to section 3
949
950 * fixed bug in pam_mail.c, and enhanced to recognize '~' as a prefix
951   to indicate the $HOME of the user (courtesy David
952   Kinchlea). *Changed* from a "session" module to an "auth"
953   module. It cannot be used to authenticate a user, but it can be used
954   in setting credentials.
955
956 * fixed a stupid bug in pam_warn.. Only PAM_SERVICE was being read :*(
957
958 * pam_radius rewritten to exclusively make use of libpwdb. (minor fix
959   to Makefile for cleaning up - AGM)
960
961 * pam_limits extended to limit the total number of logins on a system
962   at any given time.
963
964 * libpam and libpam_misc use $(MAJOR_REL) and $(MINOR_REL) to set their
965   version numbers [defined in top level makefile]
966
967 * bugfix in sed command in defs/redhat.defs (AGM's fault)
968
969 * The following was related to a possibility of buffer overruns in
970   the syslogging code: removed fixed length array from syslogging
971   function in the following modules [capitalized the log identifier
972   so the sysadmin can "know" these are fixed on the local system],
973
974         pam_ftp, pam_stress, pam_rootok, pam_securetty,
975         pam_listfile, pam_shells, pam_warn, pam_lastlog
976   and
977         pam_unix_passwd (where it was definitely _not_ exploitable)
978
979 0.55: Sat Jan  4 14:43:02 PST 1997, Andrew Morgan <morgan@parc.power.net>
980
981 * added "requisite" control_flag to /etc/pam.conf syntax. [See
982   Sys. Admin. Guide for explanation] changes to pam_handlers.c
983
984 * completely new handling of garbled pam.conf lines. The modus
985   operandi now is to assume that any errors in the line are minor.
986   Errors of this sort should *most definitely* lead to the module
987   failing, however, just ignoring the line (as was the case
988   previously) can lead to gaping security holes(! Not foreseen by the
989   RFC). The "motivation" for the RFC's comments about ignoring garbled
990   lines is present in spirit in the new code: basically a garbled line
991   is treated like an instance of the pam_deny.so module.
992   changes to pam_handlers.c and pam_dispatch.c .
993
994 * patched libpam, to (a) call _pam_init_handlers from pam_start() and
995   (b) to log a text error if there are no modules defined for a given
996   service when a call to a module is requested. [pam_start() and
997   pam_dispatch() were changed].
998
999 * patched pam_securetty to deal with "/dev/" prefix on PAM_TTY item.
1000
1001 * reorganized the modules/Makefile to include *ALL* modules. It is now
1002   the responsibility of the modules themselves to test whether they can
1003   be compiled locally or not.
1004
1005 * modified pam_group to add to the getgroups() list rather than overwrite
1006   it. [In the case of "HAVE_LIBPWDB" we use the pwdb_..() calls to
1007   translate the group names.]. Module now pays attention to
1008   PAM_CRED_.. flag(!)
1009
1010 * identified and removed bugs in field reading code of pam_time and
1011   (thus) pam_group.
1012
1013 * Cristian's patches to pam_listfile module, corresponding change to
1014   documentation.
1015
1016 * I've discovered &ero; for sgml!
1017   Added pam_time documentation to the admin guide.
1018
1019 * added manual pages: pam.8, pam_start.2(=pam_end.2),
1020   pam_authenticate.2, pam_setcred.2, pam_strerror.2,
1021   pam_open_session.2(=pam_close_session.2) and pam_chauthtok.2 .
1022
1023 * added new modules:
1024
1025         - pam_mail (tells the user if they have any new mail
1026           and sets their MAIL env variable)
1027         - pam_lastlog (reports on the last time this user called
1028           this module)
1029
1030 * new module hooks provided.
1031
1032 * added a timeout feature to the conversation function in
1033   libpam_misc. Documented it in the application developers' guide.
1034
1035 * fixed bug in pam_misc_paste_env() function..
1036
1037 * slight modifications to wheel and rhosts writeup.
1038
1039 * more security issues added to module and application guides.
1040
1041 --
1042 Things present but not mentioned in previous release (sorry)
1043
1044 * pam_pwdb module now resets the "last_change" entry before updating a
1045   password.
1046 --
1047
1048 Sat Nov 30 19:30:20 PST 1996, Andrew Morgan <morgan@parc.power.net>
1049
1050 * added environment handling to libpam. involved change to _pam_types.h
1051   also added supplementary functions to libpam_misc
1052
1053 * added pam_radius - Cristian
1054
1055 * slight speed up for pam_rhosts
1056
1057 * significantly enhanced sys-admin documentation (8 p -> 41 p in
1058   PostScript). Added to other documentation too.  Mostly the changes
1059   in the other docs concern the new PAM-environment support, there is
1060   also some coverage of libpam_misc in the App. Developers' guide.
1061
1062 * Cristian's patches to pam_limits and pam_pwdb. Fixing bugs. (MORE added)
1063   
1064 * adopted Cristian's _pam_macros.h file to help with common macros and
1065   debugging stuff, gone through tree tidying up debugging lines to use
1066   this [not complete].
1067
1068         - for consistency replaced DROP() with _pam_drop()
1069
1070 * commented memory debugging in top level makefile
1071
1072 * added the following modules
1073
1074     - pam_warn  log information to syslog(3) about service application
1075     - pam_ftp   if user is 'ftp' then set PAM_RUSER/PAM_RHOST with password
1076     (comment about nologin added to last release's notes)
1077
1078 * modified the pam_listfile module. It now declares a meaningful static
1079   structure name.
1080
1081 Sun Nov 10 13:26:39 PST 1996, Andrew Morgan <morgan@parc.power.net>
1082
1083                 **PLEASE *RE*AMEND YOUR PERSONAL LINKS**
1084
1085   ------->  http://parc.power.net/morgan/Linux-PAM/index.html  <-------
1086
1087                 **PLEASE *RE*AMEND YOUR PERSONAL LINKS**
1088
1089 A brief summary of what has changed:
1090
1091 * many modules have been modified to accomodate fixing the pam_get_user()
1092   change. Please take note if you have a module in this distribution.
1093
1094 * pam_unix is now the pam_unix that Red Hat has been using and which
1095   should be fairly well debugged.
1096
1097    - I've added some #ifdef's to make it compile for me, and also
1098      updated it with respect to the libpam-0.53, so have a look at the
1099      .../modules/pam_unix/Makefile to enable cracklib and shadow features
1100
1101         ** BECAUSE OF THIS, I cannot guarantee this code works as it **
1102         ** did for Red Hat. Please test and report any problems.     **
1103
1104 * the pam_unix of .52 (renamed to pam_pwdb) has been enhanced and made
1105   more flexible with by implementing it with respect to the new
1106   "Password Database Library" see
1107
1108         http://parc.power.net/morgan/libpwdb/index.html
1109
1110   modules included in this release that require this library to
1111   function are the following:
1112
1113         - pam_pwdb (ne pam_unix-0.52 + some enhancements)
1114         - pam_wheel
1115         - pam_limits
1116         - pam_nologin
1117
1118 * Added some optional code for memory debugging. In order to support
1119   this you have to enable MEMORY_DEBUG in the top level makefile and
1120   also #define MEMORY_DEBUG in your applications when they are compiled.
1121   The extra code resides in libpam (compiled if MEMORY_DEBUG is defined)
1122   and the macros for malloc etc. are to be found at the end of
1123   _pam_types.h
1124
1125 * used above code to locate two memory leaks in pam_unix module and two
1126   in libpam (pam_handlers.h)
1127
1128 * pam_get_user() now sets the PAM_USER item. After reading the Sun
1129   manual page again, it was clear that it should do this. Various
1130   modules have been assuming this and now I have modified most of them
1131   to account for this change. Additionally, pam_get_user() is now
1132   located in the module include file; modules are supposed to be the
1133   ones that use it(!) [Note, this is explicitly contrary to the Sun
1134   manual page, but in the spirit of the Linux distribution to date.]
1135
1136 * replaced -D"LINUX" with -D"LINUX_PAM" as this is more explicit and less
1137   likely to be confused with -D"linux".
1138   Also, modified the libpam #include files to behave more like the Sun
1139   ones #ifndef LINUX_PAM.
1140
1141 * removed <bf/ .. / from documentation titles. This was not giving
1142   politically correct html..
1143  
1144 ----- My vvvvvvvvvvvvvvvvvvv was a long time ago ;*] -----
1145
1146 Wed Sep  4 23:57:19 PDT 1996 (Andrew Morgan <morgan@physics.ucla.edu>
1147
1148 0. Before I begin, Linux-PAM has a new primary distribution site (kindly
1149 donated by Power Net Inc., Los Angeles)
1150
1151                 **PLEASE AMMEND YOUR PERSONAL LINKS**
1152
1153       ------->  http://www.power.net/morgan/Linux-PAM  <-------
1154
1155                 **PLEASE AMMEND YOUR PERSONAL LINKS**
1156
1157 1. I'm hoping to make the next release a bug-fix release... So please find
1158    all the bugs(! ;^)
1159
1160 2. here are the changes for .52:
1161
1162 * minor changes to module documentation [Incidently, it is now
1163   available on-line from the WWW page above]. More changes to follow in
1164   the next two releases. PLEASE EMAIL me or the list if there is
1165   anything that isn't clear!
1166
1167 * completely changed the unix module. Now a single module for all four
1168   management groups (this meant that I could define all functions as
1169   static that were not part of the pam_sm_... scheme. AGM)
1170
1171   - Shadow support added
1172 PASSWD  - Elliot's account management included, and enhanced by Cristian Gafton.
1173   - MD5 password support added by Cristian Gafton.
1174   - maxtries for authentication now enforced.
1175   - Password changing function in pam_unix now works!
1176     Although obviously, I'm not going to *guarantee* it ;^) .
1177   - stole Marek's locking code from the Red Hat unix module.
1178     [ If you like you can #ifdef it in or out ... ]
1179
1180     You can configure the module more from its Makefile in
1181     0.52/modules/pam_unix/
1182
1183     If you are nervous that it will destroy your /etc/passwd or shadow
1184     files then EDIT the 0.52/modules/pam_unix/pam_unix_pass.-c file.
1185     Here is the warning comment from this file...
1186
1187 -------------8<-----------------
1188 /*                           <WARNING>
1189  *
1190  * Uncomment the following #define if you are paranoid, and do not
1191  * want to risk losing your /etc/passwd or shadow files.
1192  * It works for me (AGM) but there are no guarantees.
1193  *
1194  *                          </WARNING>
1195  */
1196 /* #define TMP__FILE */
1197 ------------->8-----------------
1198
1199   *** If anyone has any trouble, please *say*. Your problem will be
1200       fixed in the next release. Also please feel free to scour the
1201       code for race conditions etc... 
1202
1203 [* The above change requires that you purge your /usr/lib/security
1204    directory of the old pam_unix_XXX.so modules: they will NOT be deleted
1205    with a 'make remove'.]
1206
1207 * the prototype for the cleanup function supplied to pam_set_data used
1208   to return "int". According to Sun it should be "void". CHANGED.
1209
1210 * added some definitions for the 'error_status' mask values that are
1211   passed to the cleanup function associated with each
1212   module-data-item. These numbers were needed to keep up with changing
1213   a data item (see for example the code in pam_unix/support.-c that
1214   manages the maximum number of retries so far). Will see what Sun says
1215   (current indications are positive); this may be undone before 1.0 is
1216   released.  Here are the definitions (from pam_modules.h).
1217
1218 #define PAM_DATA_SILENT    0x40000000     /* used to suppress messages... */
1219 #define PAM_DATA_REPLACE   0x20000000     /* used when replacing a data item */
1220
1221 * Changed the .../conf/pam.conf file. It now points to the new
1222   pam_unix module for 'su' and 'passwd' [can get these as SimpleApps --
1223   I use them for testing. A more extensive selection of applications is
1224   available from Red Hat...]
1225
1226 * corrected a bug in pam_dispatch. Basically, the problem was that if
1227   all the modules were "sufficient" then the return value for this
1228   function was never set. The net effect was that _pam_dispatch_aux
1229   returned success when all the sufficient modules failed. :^( I think
1230   this is the correct fix to a problem that the Red Hat folks had
1231   found...
1232
1233 sopwith* Removed advisory locking from libpam (thanks for the POSIX patch
1234   goes to Josh Wilmes's, my apologies for not using it in the
1235   end.). Advisory locking did not seem sufficiently secure for libpam.
1236   Thanks to Werner Almesberger for identifying the corresponding "denial
1237   of service attack". :*(
1238
1239 * related to fix, have introduced a lock file /var/lock/subsys/PAM
1240   that can be used to indicate the system should pay attention to
1241   advisory locking on /etc/pam.conf file. To implement this you need to
1242   define PAM_LOCKING though. (see .52/libpam)
1243
1244 * modified pam_fail_delay() function. Couldn't find the "not working"
1245   problem indicated by Michael, but modified it to do pseudo-random
1246   delays based on the values indicated by pam_fail_delay() -- the
1247   function "that may eventually go away"... Although Sun is warming to
1248   the idea.
1249
1250 * new modules include:
1251
1252         pam_shells    - authentication for users with a shell listed in
1253                         /etc/shells. Erik Troan <ewt@redhat.com>
1254
1255         pam_listfile  - authentication based on the contents of files.
1256                         Set to be more general than the above in the
1257                         future. UNTESTED. Elliot Lee <@redhat.com>
1258                         [Note, this module compiles with a non-trivial
1259                         warning: AGM]
1260
1261 Thu Aug  8 22:32:15 PDT 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
1262
1263 * modified makefiles to take more of their installation instructions
1264   from the top level makefile. Desired for integration into the Debian
1265   distribution, and generally a good idea.
1266
1267 * fixed memory arithmetic in pam_handlers
1268   -- still need to track down why failure to load modules can lead to
1269   authentication succeding..
1270
1271 * added tags for new modules (smartcards from Alex -- just a promise
1272   at this stage) and a new module from Elliot Lee; pam_securetty
1273
1274 * I have not had time to smooth out the wrinkles with it, but Alex's
1275   pam_unix modifications are provided in pam_unix-alex (in the modules
1276   directory) they will not be compiled by 'make all' and I can't even
1277   say if they do compile... I will try to look at them for .52 but, in
1278   the mean time please feel free to study/fix/discuss what is there.
1279
1280 * pam_rhosts module. Removed code for manually setting the ruser
1281   etc. This was not very secure.
1282
1283 * [remade .ps docs to be in letter format -- my printer complains
1284   about a4]
1285
1286 Sunday July, 7 12:45:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
1287
1288 * No longer accompanying the Linux-PAM release with apps installed.
1289   [Will provide what was here in a separate package.. (soon)
1290 lib   Also see http://www.redhat.com/pam for some more (in .rpm form...)]
1291
1292 * renamed libmisc to libpam_misc. It is currently configured to only compile
1293   the static library. For some strange reason (perhaps someone can
1294   investigate) my Linux 2.0.0 kernel with RedHat 3.0.3 system
1295   segfaults when I compile it to be a dynamic library. The segfault
1296   seems to be inside the call to the ** dl_XXX ** function...!?
1297
1298   There is a simple flag in the libpam_misc/Makefile to turn on dynamic
1299   compiles.
1300
1301 * Added a little unofficial code for delay support in libpam (will probably
1302   disappear later..) There is some documentation for it in the pam_modules
1303   doc now. That will obviously go too.
1304
1305 * rewritten pam_time to use *logic* to specify the stringing together of
1306   users/times/terminals etc.. (what was there before was superficially
1307   logical but basically un-predictable!)
1308
1309 * added pam_group. Its syntax is almost identical to pam_time but it
1310   has another field added; a list of groups to make the user a member
1311   of if they pass the previous tests. It seems to not co-exist too well
1312   with the groups in the /etc/group but I hope to have that fixed by
1313   the next release...
1314
1315 * minor re-formatting of pam_modules documentation
1316
1317 * removed ...// since it wasn't being used and didn't look like it
1318   would be!
1319
1320 GCCSunday 23 22:35:00 PST 1996   (Andrew Morgan <morgan@physics.ucla.edu>)
1321
1322 * The major change is the addition of a new module: pam_time for
1323   restricting access on terminals at given times for indicated users
1324   it comes with its own configuration file /etc/security/time.conf
1325   and the sample file simply restricts 'you' from satisfying the blank
1326   application if they try to use blank from any tty*
1327
1328 * Small changes include
1329 - altered pam.conf to demonstrate above new module (try typing username: you)
1330 - very minor changes to the docs (pam_appl and pam_modules)
1331
1332 Saturday June 2 01:40:00 PST 1996  (Andrew Morgan <morgan@physics.ucla.edu>)
1333
1334 *** PLEASE READ THE README, it has changed ***
1335
1336 * NOTE, 'su' exhibits a "system error", when static linking is
1337   used. This is because the pam_unix_... module currently only has
1338   partial static linking support. This is likely to change on Monday
1339   June 3, when Alex makes his latest version availible. I will include
1340   the updated module in next release.
1341
1342 changes for .42:
1343
1344 * modified the way in which libpam/pam_modules.h defines prototypes for
1345   the pam_sm_ functions. Now the module must declare which functions it
1346   is to provide *before* the #include <security/pam_modules.h> line.
1347   (for contrasting examples, see the pam_deny and pam_rootok modules)
1348   This removed the ugly hack of defining functions that are never called
1349   to overcome  warnings... This seems much tidier.
1350 insterted* updated the TODO list. (changed mailing list address)
1351 * updated README in .../modules to reflect modifications to static
1352   compliation protocol
1353 * modified the pam_modules documentation to describe this.
1354 * corrected last argument of pam_get_item( ... ) in
1355   pam_appl/modules.sgml, to "const void **".
1356 * altered GNU GPL's in the documentation, and various other parts of
1357   the distribution. *Please check* that any code you are responsible for
1358   is corrected.
1359 * Added ./Copyright (please check that it is acceptable)
1360 * updated ./README to make current and indicate the new mailing list
1361   address
1362 * have completely rewritten pam_filter. It now runs modular filter
1363   executables (stored in /usr/sbin/pam_filter/) This should make it
1364   trivial for others to write their own filters.. If you want yours
1365   included in the distribution please email the list/me.
1366 * changes to libpam; there was a silly bug with multiple arguments on a
1367   pam.conf line that was broken with a '\<LF>'.
1368 * 'su' rearranged code (to make better use of PAM)
1369   *Also* now uses POSIX signals--this should help the Alpha port.
1370 * 'passwd' now uses getlogin() to determine who's passwords to change.
1371
1372 Sunday May 26 9:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
1373
1374 * fixed module makefiles to create needed dynamic/static subdirectories
1375
1376 Saturday May 25 20:30:27.8 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
1377
1378 * LOTS has changed regarding how the modules/libpam are built.
1379 *  Michael's mostly complete changes for static support--see below
1380   (Andrew got a little carried away and automated the static linking
1381   of modules---bugs are likely mine ;( )
1382 * Thanks mostly to Michael, libpam now compiles without a single warning :^]
1383 * made static modules/library optional.
1384 CFLAGS* added 'make sterile' to top level makefile. This does extraclean and remove
1385 * added Michael and Joseph to documentation credits (and a subsection for
1386   future documentation of static module support in pam_modules.sgml)
1387 * libpam; many changes to makefiles and also automated the inclusion of
1388   static module objects in pam_static.c
1389 * modified modules for automated static/dynamic support. Added static & 
1390   dynamic subdirectories, as instructed by Michael
1391 * removed an annoying syslog message from pam_filter: "parent exited.."
1392 * updated todo list (anyone know anything about svgalib/X? we probably should
1393   have some support for these...)
1394
1395 Friday May 24 16:30:15 EDT 1996 (Michael K. Johnson <johnsonm@redhat.com>)
1396
1397 * Added first (incomplete) cut at static support.
1398   This includes:
1399    . changes in libpam, including a new file, pam_static.c
1400    . changes to modules including exporting struct of function pointers
1401    . static and dynamic linking can be combined
1402    . right now, the only working combinations are just dynamic
1403      linking and dynamic libpam.so with static modules linked
1404      into libpam.so.  That's on the list of things to fix...
1405    . modules are built differently depending on whether they
1406      are static or dynamic.  Therefore, there are two directories
1407      under each module directory, one for static, and one for
1408      dynamic modules.
1409 * Fixed random brokenness in the Makefiles.  [ foo -nt bar ] is
1410   rather redundant in a makefile, for instance.  Also, passing
1411    on the command line is broken because it cannot be
1412   overridden in any way (even adding important parts) in lower-level
1413   makefiles.
1414 * Unfortunately, fixing some of the brokenness meant that I used
1415   GNU-specific stuff.  However, I *think* that there was GNU-specific
1416   stuff already.  And I think that we should just use the GNU
1417   extensions, because any platform that GNU make doesn't port to
1418   easily will be hard to port to anyway.  It also won't be likely
1419 passwd  to handle autoconf, which was Ted's suggestion for getting
1420   around limitations in standard make...
1421   For now, I suggest that we just use some simple GNU-specific
1422   extensions.
1423
1424 Monday May 20 22:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
1425
1426 * added some text to pam_modules.sgml
1427 * corrected Marek's name in all documentation
1428 * made pam_stress conform to chauthtok conventions -- ie can now request
1429   old password before proceeding.
1430 * included Alex's latest unix module
1431 * included Al's + password strength checking module
1432 * included pam_rootok module
1433 * fixed too many bugs in libpam.. all subtly related to the argument lists
1434   or use of syslog. Added more debugging lines here too.
1435 * fixed the pam.conf file
1436 * deleted pam_test module. It is pretty old and basically superceeded
1437   by pam_stress
1438
1439 Friday May 9 1:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
1440
1441 * updated documentaion, added Al Longyear to credits and corrected the
1442   spelling of Jeff's name(!). Most changes to pam.sgml (even added a figure!)
1443 * new module pam_rhosts_auth (from Al Longyear)
1444 * new apps rlogind and ftpd (a patch) from Al.
1445 * modified 'passwd' to not call pam_authenticate (note, none of the
1446   modules respect this convention yet!)
1447 * fixed bug in libpam that caused trouble if the last line of a
1448   pam.conf file ends with a module name and no newline character
1449 * also made more compatable with documentation, in that bad lines in
1450   pam.conf are now ignored rather than causing libpam to return an
1451   error to the app.
1452 * libpam now overwrites the AUTHTOKs when returning from
1453   pam_authenticate and pam_chauthtok calls (as per Sun/RFC too)
1454 * libpam is now installed as libpam.so.XXX in a way that ldconfig can
1455   handle!
1456
1457
1458 Wednesday May 1 22:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
1459
1460 * removed .../test directory, use .../examples from now on.
1461 * added .../apps directory for fully functional applications
1462   - the apps directory contains directories that actually contain the apps.
1463     the idea is to make application compilation conditional on the presence
1464     of the directory. Note, there are entries in the Makefile for
1465     'login' and 'ftpd' that are ready for installation... Email me if
1466     you want to reserve a directory name for an application you are
1467     working on...
1468 * similar changes to .../modules makefile [entries for pam_skey and
1469   pam_kerberos created---awaiting the directories.] Email me if you
1470   want to register another module...
1471 * minor changes to docs.. Not really worth reprinting them quite yet!
1472   [save the trees]
1473 * added misc_conv to libmisc. it is a generic conversation function
1474   for text based applications. [would be nice to see someone create
1475   an Xlib and/or svgalib version]
1476 * fixed ctrl-z/c bug with pam_filter module [try xsh with the default
1477   pam.conf file]
1478 * added 'required' argument to 'pam_stress' module.
1479 * added a TODO list... other suggestions to the list please.
1480
1481 Saturday April 7 00:00:00 PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )
1482
1483 * Alex and Marek please note I have altered _pam_auth_unix a little, to
1484   make it get the passwords with the "proper method" (and also fixed it
1485   to not have as many compiler warnings)
1486 * updated the conf/pam.conf file
1487 * added new example application examples/xsh.c (like blank but invokes
1488   /bin/sh)
1489 * Marc's patches for examples/blank.c (and AGM's too)
1490 * fixed stacking of modules in libpam/pam_handlers.c
1491 * fixed RESETing in libpam/pam_item.c
1492 * added new module modules/pam_filter/ to demonstrate the possibility
1493   of inserting an arbitrary filter between the terminal and the
1494   application that could do customized logging etc... (see use of
1495   bin/xsh as defined in conf/pam.conf)
1496
1497
1498 Saturday March 16 19:00:00 PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )
1499
1500 These notes are for 0.3 I don't think I've left anything important
1501 out, but I will use emacs 'C-x v a' next time! (Thanks Jeff)
1502
1503         * not much has changed with the functionality of the Linux-PAM lib
1504           .../libpam
1505                 - pam_password calls module twice with different arguments
1506                 - added const to some of the function arguments
1507                 - added PAM_MAX_MES_ to <security/_pam_types.h>
1508                 - was a lot over zealous about purging old passwords...
1509                   I have removed much of this from source to make it
1510                   more compatible with SUN.
1511                 - moved some PAM_... tokens to pam_modules.h from _pam_types.h
1512                   (no-one should notice)
1513
1514         * added three modules: pam_permit pam_deny pam_stress
1515           no prizes for guessing what the first two do. The third is
1516           a reasonably complete (functional) module. Is intended for testing
1517           applications with.
1518
1519         * fixed a few pieces of examples/blank.c so that it works (with
1520           pam_stress)
1521
1522         * ammended the documentation. Looking better, but suggestions/comments
1523           very welcome!
1524
1525 Sunday March 10 10:50:00 PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )
1526
1527 These notes are for Linux-PAM release 0.21.  They cover what's changed
1528 since I relased 0.2.
1529
1530         * am now using RCS
1531         * substantially changed ./README
1532         * fixed bug reading \\\n in pam.conf file
1533         * small changes to documentation
1534         * added `blank' application to ./examples (could be viewed as
1535           a `Linux-PAM aware' application template.)
1536         * oops. now including pam_passwd.o and pam_session.o in pamlib.so
1537         * compute md5 checksums for all the source when making a release
1538             - added `make check' and `make RCScheck' to compute md5 checksums
1539         * create a second tar file with all the RCS files in.
1540         * removed the .html and .txt docs, supplying sgml sources instead.
1541             - see README for info on where to get .ps files
1542
1543 Thursday March 6 0:44:?? PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )
1544
1545 These notes are for Linux-PAM release 0.2.  They cover what's changed
1546 since Marc Ewing relased 0.1.
1547
1548 **** Please note. All of the directories in this release have been modified
1549 **** slightly to conform to the new pamlib. A couple of new directories have
1550 **** been added. As well as some documentation. If some of your code
1551 **** was in the previous release. Feel free to update it, but please
1552 **** try to conform to the new headers and Makefiles.
1553
1554 * Andrew Morgan (morgan@physics.ucla.edu) is making this release
1555  availible, Marc has been busy...!
1556
1557 * Marc's pam-0.1/lib has been (quietly) enhanced and integrated into
1558  Alex Yurie's collected tree of library and module code
1559  (linux-pam.prop.1.tar.gz). Most of the changes are to do with error
1560  checking. Some more robustness in the reading of the pam.conf file
1561  and the addition of the pam_get_user() function.
1562
1563 * The pam_*.h files have been reorganized to logically enforce the
1564  separation of modules from applications. [Don't panic! Apart from
1565  changing references of the form
1566
1567         #include "pam_appl.h"
1568
1569  to
1570
1571         #include <security/pam_appl.h>
1572
1573  The reorganization should be backwardly compatable (ie. a module
1574  written for SUN will be as compatable as it was before with the
1575  previous version ;)~ ]
1576
1577  (All of the source in this tree now conforms to this scheme...)
1578
1579  The new reorganization means that modules can be compiled with a
1580  single header, <security/pam_modules.h>, and applications with
1581  <security/pam_appl.h>.
1582
1583 * I have tried to remove all the compiler warnings from the updated
1584  "pamlib/*.c" files. On my system, (with a slightly modified <dlfcn.h>
1585  email me if it interests you..) there are only two warnings that
1586  remain: they are that ansi does not permit void --> fn ptr
1587  assignment. K&Rv2 doesn't mention this....? As a matter of principle,
1588  if anyone knows how to get rid of that warning... please
1589  tell. Thanks! "-pedantic"
1590
1591 * you can "make all" as a plain user, but
1592
1593 * to "make install" you must be root. The include files are placed in
1594  /usr/include/security. The libpam.so library is installed in /usr/lib
1595  and the modules in /usr/lib/security. The two test binaries
1596  are installed in the Linux-PAM-0.2/bin directory and a chance is given to
1597  replace your /etc/pam.conf file with the one in Linux-PAM-0.2/conf.
1598
1599 * I have included some documentation (pretty preliminary at the
1600 moment) which I have been working on in .../doc .
1601
1602 I have had a little trouble with the modules, but atleast there are no
1603 segfaults! Please try it out and discuss your results... I actually
1604 hope it all works for you. But, Email any bugs/suggestions to the
1605 Linux-PAM list: linux-pam@mit.edu .....
1606
1607 Regards,
1608
1609 Andrew Morgan
1610 (morgan@physics.ucla.edu)
1611
1612
1613 Sat Feb 17 17:30:24 EST 1996 (Alexander O. Yuriev alex@bach.cis.temple.edu)
1614
1615         * conf directory created with example of pam_conf
1616         * stable code from pam_unix is added to modules/pam_unix
1617         * test/test.c now requests username and password and attempts
1618           to perform authentication
1619