
$Id: CHANGELOG,v 1.12 1996/07/08 00:12:24 morgan Exp $

Sunday July, 7 12:45:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)

* No longer accompanying the Linux-PAM release with apps installed.
  [Will provide what was here in a separate package.. (soon)
   Also see http://www.redhat.com/pam for some more (in .rpm form...)]

* renamed libmisc to libpam_misc. It is currently configured to only compile
  the static library. For some strange reason (perhaps someone can
  investigate) my Linux 2.0.0 kernel with RedHat 3.0.3 system
  segfaults when I compile it to be a dynamic library. The segfault
  seems to be inside the call to the ** dl_XXX ** function...!?

  There is a simple flag in the libpam_misc/Makefile to turn on dynamic
  compiles.

* Added a little unofficial code for delay support in libpam (will probably
  disappear later..) There is some documentation for it in the pam_modules
  doc now. That will obviously go too.

* rewritten pam_time to use *logic* to specify the stringing together of
  users/times/terminals etc.. (what was there before was superficially
  logical but basically un-predictable!)

* added pam_group. Its syntax is almost identical to pam_time but it
  has another field added; a list of groups to make the user a member
  of if they pass the previous tests. It seems to not co-exist too well
  with the groups in the /etc/group but I hope to have that fixed by
  the next release...

* minor re-formatting of pam_modules documentation

* removed .../lib/ since it wasn't being used and didn't look like it
  would be!

Sunday 23 22:35:00 PST 1996   (Andrew Morgan <morgan@physics.ucla.edu>)

* The major change is the addition of a new module: pam_time for
  restricting access on terminals at given times for indicated users
  it comes with its own configuration file /etc/security/time.conf
  and the sample file simply restricts 'you' from satisfying the blank
  application if they try to use blank from any tty*

* Small changes include
- altered pam.conf to demonstrate above new module (try typing username: you)
- very minor changes to the docs (pam_appl and pam_modules)

Saturday June 2 01:40:00 PST 1996  (Andrew Morgan <morgan@physics.ucla.edu>)

*** PLEASE READ THE README, it has changed ***

* NOTE, 'su' exhibits a "system error", when static linking is
  used. This is because the pam_unix_... module currently only has
  partial static linking support. This is likely to change on Monday
  June 3, when Alex makes his latest version availible. I will include
  the updated module in next release.

changes for .42:

* modified the way in which libpam/pam_modules.h defines prototypes for
  the pam_sm_ functions. Now the module must declare which functions it
  is to provide *before* the #include <security/pam_modules.h> line.
  (for contrasting examples, see the pam_deny and pam_rootok modules)
  This removed the ugly hack of defining functions that are never called
  to overcome GCC warnings... This seems much tidier.
* updated the TODO list. (changed mailing list address)
* updated README in .../modules to reflect modifications to static
  compliation protocol
* modified the pam_modules documentation to describe this.
* corrected last argument of pam_get_item( ... ) in
  pam_appl/modules.sgml, to "const void **".
* altered GNU GPL's in the documentation, and various other parts of
  the distribution. *Please check* that any code you are responsible for
  is corrected.
* Added ./Copyright (please check that it is acceptable)
* updated ./README to make current and indicate the new mailing list
  address
* have completely rewritten pam_filter. It now runs modular filter
  executables (stored in /usr/sbin/pam_filter/) This should make it
  trivial for others to write their own filters.. If you want yours
  included in the distribution please email the list/me.
* changes to libpam; there was a silly bug with multiple arguments on a
  pam.conf line that was broken with a '\<LF>'.
* 'su' rearranged code (to make better use of PAM)
  *Also* now uses POSIX signals--this should help the Alpha port.
* 'passwd' now uses getlogin() to determine who's passwords to change.

Sunday May 26 9:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)

* fixed module makefiles to create needed dynamic/static subdirectories

Saturday May 25 20:30:27.8 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)

* LOTS has changed regarding how the modules/libpam are built.
* insterted Michael's mostly complete changes for static support--see below
  (Andrew got a little carried away and automated the static linking
  of modules---bugs are likely mine ;( )
* Thanks mostly to Michael, libpam now compiles without a single warning :^]
* made static modules/library optional.
* added 'make sterile' to top level makefile. This does extraclean and remove
* added Michael and Joseph to documentation credits (and a subsection for
  future documentation of static module support in pam_modules.sgml)
* libpam; many changes to makefiles and also automated the inclusion of
  static module objects in pam_static.c
* modified modules for automated static/dynamic support. Added static & 
  dynamic subdirectories, as instructed by Michael
* removed an annoying syslog message from pam_filter: "parent exited.."
* updated todo list (anyone know anything about svgalib/X? we probably should
  have some support for these...)

Friday May 24 16:30:15 EDT 1996 (Michael K. Johnson <johnsonm@redhat.com>)

* Added first (incomplete) cut at static support.
  This includes:
   . changes in libpam, including a new file, pam_static.c
   . changes to modules including exporting struct of function pointers
   . static and dynamic linking can be combined
   . right now, the only working combinations are just dynamic
     linking and dynamic libpam.so with static modules linked
     into libpam.so.  That's on the list of things to fix...
   . modules are built differently depending on whether they
     are static or dynamic.  Therefore, there are two directories
     under each module directory, one for static, and one for
     dynamic modules.
* Fixed random brokenness in the Makefiles.  [ foo -nt bar ] is
  rather redundant in a makefile, for instance.  Also, passing
  CFLAGS on the command line is broken because it cannot be
  overridden in any way (even adding important parts) in lower-level
  makefiles.
* Unfortunately, fixing some of the brokenness meant that I used
  GNU-specific stuff.  However, I *think* that there was GNU-specific
  stuff already.  And I think that we should just use the GNU
  extensions, because any platform that GNU make doesn't port to
  easily will be hard to port to anyway.  It also won't be likely
  to handle autoconf, which was Ted's suggestion for getting
  around limitations in standard make...
  For now, I suggest that we just use some simple GNU-specific
  extensions.

Monday May 20 22:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)

* added some text to pam_modules.sgml
* corrected Marek's name in all documentation
* made pam_stress conform to chauthtok conventions -- ie can now request
  old password before proceeding.
* included Alex's latest unix module
* included Al's passwd+ password strength checking module
* included pam_rootok module
* fixed too many bugs in libpam.. all subtly related to the argument lists
  or use of syslog. Added more debugging lines here too.
* fixed the pam.conf file
* deleted pam_test module. It is pretty old and basically superceeded
  by pam_stress

Friday May 9 1:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)

* updated documentaion, added Al Longyear to credits and corrected the
  spelling of Jeff's name(!). Most changes to pam.sgml (even added a figure!)
* new module pam_rhosts_auth (from Al Longyear)
* new apps rlogind and ftpd (a patch) from Al.
* modified 'passwd' to not call pam_authenticate (note, none of the
  modules respect this convention yet!)
* fixed bug in libpam that caused trouble if the last line of a
  pam.conf file ends with a module name and no newline character
* also made more compatable with documentation, in that bad lines in
  pam.conf are now ignored rather than causing libpam to return an
  error to the app.
* libpam now overwrites the AUTHTOKs when returning from
  pam_authenticate and pam_chauthtok calls (as per Sun/RFC too)
* libpam is now installed as libpam.so.XXX in a way that ldconfig can
  handle!


Wednesday May 1 22:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)

* removed .../test directory, use .../examples from now on.
* added .../apps directory for fully functional applications
  - the apps directory contains directories that actually contain the apps.
    the idea is to make application compilation conditional on the presence
    of the directory. Note, there are entries in the Makefile for
    'login' and 'ftpd' that are ready for installation... Email me if
    you want to reserve a directory name for an application you are
    working on...
* similar changes to .../modules makefile [entries for pam_skey and
  pam_kerberos created---awaiting the directories.] Email me if you
  want to register another module...
* minor changes to docs.. Not really worth reprinting them quite yet!
  [save the trees]
* added misc_conv to libmisc. it is a generic conversation function
  for text based applications. [would be nice to see someone create
  an Xlib and/or svgalib version]
* fixed ctrl-z/c bug with pam_filter module [try xsh with the default
  pam.conf file]
* added 'required' argument to 'pam_stress' module.
* added a TODO list... other suggestions to the list please.

Saturday April 7 00:00:00 PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )

* Alex and Marek please note I have altered _pam_auth_unix a little, to
  make it get the passwords with the "proper method" (and also fixed it
  to not have as many compiler warnings)
* updated the conf/pam.conf file
* added new example application examples/xsh.c (like blank but invokes
  /bin/sh)
* Marc's patches for examples/blank.c (and AGM's too)
* fixed stacking of modules in libpam/pam_handlers.c
* fixed RESETing in libpam/pam_item.c
* added new module modules/pam_filter/ to demonstrate the possibility
  of inserting an arbitrary filter between the terminal and the
  application that could do customized logging etc... (see use of
  bin/xsh as defined in conf/pam.conf)


Saturday March 16 19:00:00 PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )

These notes are for 0.3 I don't think I've left anything important
out, but I will use emacs 'C-x v a' next time! (Thanks Jeff)

	* not much has changed with the functionality of the Linux-PAM lib
	  .../libpam
		- pam_password calls module twice with different arguments
		- added const to some of the function arguments
		- added PAM_MAX_MES_ to <security/_pam_types.h>
		- was a lot over zealous about purging old passwords...
		  I have removed much of this from source to make it
		  more compatible with SUN.
		- moved some PAM_... tokens to pam_modules.h from _pam_types.h
		  (no-one should notice)

	* added three modules: pam_permit pam_deny pam_stress
	  no prizes for guessing what the first two do. The third is
	  a reasonably complete (functional) module. Is intended for testing
	  applications with.

	* fixed a few pieces of examples/blank.c so that it works (with
	  pam_stress)

	* ammended the documentation. Looking better, but suggestions/comments
	  very welcome!

Sunday March 10 10:50:00 PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )

These notes are for Linux-PAM release 0.21.  They cover what's changed
since I relased 0.2.

	* am now using RCS
	* substantially changed ./README
	* fixed bug reading \\\n in pam.conf file
	* small changes to documentation
	* added `blank' application to ./examples (could be viewed as
	  a `Linux-PAM aware' application template.)
	* oops. now including pam_passwd.o and pam_session.o in pamlib.so
	* compute md5 checksums for all the source when making a release
	    - added `make check' and `make RCScheck' to compute md5 checksums
	* create a second tar file with all the RCS files in.
	* removed the .html and .txt docs, supplying sgml sources instead.
	    - see README for info on where to get .ps files

Thursday March 6 0:44:?? PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )

These notes are for Linux-PAM release 0.2.  They cover what's changed
since Marc Ewing relased 0.1.

**** Please note. All of the directories in this release have been modified
**** slightly to conform to the new pamlib. A couple of new directories have
**** been added. As well as some documentation. If some of your code
**** was in the previous release. Feel free to update it, but please
**** try to conform to the new headers and Makefiles.

* Andrew Morgan (morgan@physics.ucla.edu) is making this release
 availible, Marc has been busy...!

* Marc's pam-0.1/lib has been (quietly) enhanced and integrated into
 Alex Yurie's collected tree of library and module code
 (linux-pam.prop.1.tar.gz). Most of the changes are to do with error
 checking. Some more robustness in the reading of the pam.conf file
 and the addition of the pam_get_user() function.

* The pam_*.h files have been reorganized to logically enforce the
 separation of modules from applications. [Don't panic! Apart from
 changing references of the form

	#include "pam_appl.h"

 to

	#include <security/pam_appl.h>

 The reorganization should be backwardly compatable (ie. a module
 written for SUN will be as compatable as it was before with the
 previous version ;)~ ]

 (All of the source in this tree now conforms to this scheme...)

 The new reorganization means that modules can be compiled with a
 single header, <security/pam_modules.h>, and applications with
 <security/pam_appl.h>.

* I have tried to remove all the compiler warnings from the updated
 "pamlib/*.c" files. On my system, (with a slightly modified <dlfcn.h>
 email me if it interests you..) there are only two warnings that
 remain: they are that ansi does not permit void --> fn ptr
 assignment. K&Rv2 doesn't mention this....? As a matter of principle,
 if anyone knows how to get rid of that warning... please
 tell. Thanks! "-pedantic"

* you can "make all" as a plain user, but

* to "make install" you must be root. The include files are placed in
 /usr/include/security. The libpam.so library is installed in /usr/lib
 and the modules in /usr/lib/security. The two test binaries
 are installed in the Linux-PAM-0.2/bin directory and a chance is given to
 replace your /etc/pam.conf file with the one in Linux-PAM-0.2/conf.

* I have included some documentation (pretty preliminary at the
moment) which I have been working on in .../doc .

I have had a little trouble with the modules, but atleast there are no
segfaults! Please try it out and discuss your results... I actually
hope it all works for you. But, Email any bugs/suggestions to the
Linux-PAM list: linux-pam@mit.edu .....

Regards,

Andrew Morgan
(morgan@physics.ucla.edu)


Sat Feb 17 17:30:24 EST 1996 (Alexander O. Yuriev alex@bach.cis.temple.edu)

	* conf directory created with example of pam_conf
	* stable code from pam_unix is added to modules/pam_unix
	* test/test.c now requests username and password and attempts
	  to perform authentication

