Blame CHANGELOG

Packit Service b29381
Packit Service b29381
=======================================================================
Packit Service b29381
=======================================================================
Packit Service b29381
Packit Service b29381
  This file is no longer used for tracking changes for Linux-PAM. For
Packit Service b29381
  user visible changes, please look at the NEWS file. A more verbose
Packit Service b29381
  list of changes can be found in ChangeLog.
Packit Service b29381
Packit Service b29381
=======================================================================
Packit Service b29381
=======================================================================
Packit Service b29381
Packit Service b29381
-----------------------------
Packit Service b29381
Packit Service b29381
TODO:
Packit Service b29381
Packit Service b29381
  - sanitize use of md5 throughout distribution.. Make a static
Packit Service b29381
    library for helping to develop modules that contains it and other
Packit Service b29381
    stuff. Also add sha-1 and ripemd-160 digest algorithms.
Packit Service b29381
  - once above is done. remove hacks from the secret@here module etc..
Packit Service b29381
  - document PAM_INCOMPLETE changes
Packit Service b29381
  - verify that the PAM_INCOMPLETE interface is sensible.   Can we
Packit Service b29381
    catch errors? should we permit item changing etc., between
Packit Service b29381
    pam_authenticate re-invocations?
Packit Service b29381
  - verify that the PAM_INCOMPLETE interface works (auth seems ok..)
Packit Service b29381
  - add PAM_INCOMPLETE support to modules (partially added to pam_pwdb)
Packit Service b29381
  - work on RFC.
Packit Service b29381
  - auth and acct support in pam_cracklib, "yes, I know the password
Packit Service b29381
    you just typed was valid, I just don't think it was very strong..."
Packit Service b29381
Packit Service b29381
====================================================================
Packit Service b29381
Packit Service b29381
If you have found a bug in Linux-PAM (including a documentation bug,
Packit Service b29381
or a new feature request and/or patch), please consider filing such a
Packit Service b29381
bug report - outstanding bugs are listed here:
Packit Service b29381
Packit Service b29381
 http://sourceforge.net/tracker/?atid=106663&group_id=6663&func=browse
Packit Service b29381
Packit Service b29381
(to file another bug see the 'submit bug' button on that page).
Packit Service b29381
Packit Service b29381
====================================================================
Packit Service b29381
Packit Service b29381
0.81: please submit patches for this section with actual code/doc
Packit Service b29381
      patches!
Packit Service b29381
* pam_umask: New module for setting umask from GECOS field, /etc/login.defs
Packit Service b29381
  or /etc/default/login (kukuk)
Packit Service b29381
* configure/pam_strerror: Remove old ugly-hack option for pam_strerror
Packit Service b29381
  interface change (kukuk)
Packit Service b29381
* configure.in: Fix AC_DEFINE usage for autoheader (kukuk)
Packit Service b29381
* configure.in/_pam_aconf.h.in: Remove feature.h inclusion (kukuk)
Packit Service b29381
* defs: Remove obsolete directory/content (kukuk)
Packit Service b29381
* Rename _pam_aconf.h.in to config.h (kukuk)
Packit Service b29381
* pam_unix: Don't ignore pam_get_item return value (kukuk)
Packit Service b29381
* pam_userdb: Fix regression - crash when crypt param not specified (t8m)
Packit Service b29381
* libpam: Remove pam_authenticate_secondary stub (kukuk)
Packit Service b29381
* Use autoconf/automake/libtool (kukuk)
Packit Service b29381
* pam_securetty: Be fail-close on user lookups, always log failures,
Packit Service b29381
  not just with "debug" (Solar Designer)
Packit Service b29381
* Add gettext support
Packit Service b29381
* Add translations for cs, de, es, fr, hu, it, ja, nb, pa, pt_BR,
Packit Service b29381
  pt, zh_CN and zh_TW
Packit Service b29381
* pam_limits: Apply ALT Linux/Owl patch
Packit Service b29381
* pam_motd: Apply ALT Linux/Owl patch
Packit Service b29381
* libpam: Cache pam_get_user() failures
Packit Service b29381
* libpam: Add pam_prompt,pam_vprompt,pam_error,pam_verror,pam_info
Packit Service b29381
  and pam_vinfo functions for use by modules as extension (kukuk).
Packit Service b29381
* pam_cracklib: Make path to cracklib dicts an option (kukuk).
Packit Service b29381
* libpam: Add pam_syslog function for unified syslog messages from
Packit Service b29381
  PAM modules (kukuk).
Packit Service b29381
* pam_tally, pam_time, pam_userdb: use pam_syslog and pam_prompt (ldv)
Packit Service b29381
* pam_issue: major cleanup (ldv)
Packit Service b29381
* pam_echo: New PAM module for message output (kukuk)
Packit Service b29381
* pam_limits: Fix regression from RLIMIT_NICE support (wrong limit
Packit Service b29381
  values for other limits are applied) patch by Anton Guda
Packit Service b29381
* pam_unix: Always honor nis flag on password change (by Aaron Hope)
Packit Service b29381
* libpam: Moved functions from pammodutil to libpam (t8m)
Packit Service b29381
* pam_lastlog: Cleanup, fix broken logic in pam_parse,
Packit Service b29381
  modify wtmp by default, nowtmp option switches that off (ldv)
Packit Service b29381
Packit Service b29381
0.80: Wed Jul 13 13:23:20 CEST 2005
Packit Service b29381
* pam_tally: test for NULL data before dereferencing them (t8m)
Packit Service b29381
* pam_unix: fix regression introduced in 0.78 - both NIS and local password
Packit Service b29381
  should be changed if possible (t8m)
Packit Service b29381
* misc_conv: flush input first then print the prompt - fixes problem
Packit Service b29381
  with expect scripts (t8m)
Packit Service b29381
* pam_unix: nis option shouldn't clear the shadow option (t8m)
Packit Service b29381
* cleanups and minor bugfixes by Steve Grubb (t8m)
Packit Service b29381
* pam_private.h: set PAM_DEFAULT_PROMPT to "login: " (kukuk)
Packit Service b29381
* pam_mkhomedir: Create parent directories if they do not already
Packit Service b29381
  exist (Bug 600351 - kukuk)
Packit Service b29381
* pam_mkhomedir: Set owner/permissions of home directory after we
Packit Service b29381
  created all files (Bug 1032922 - kukuk)
Packit Service b29381
* pam_rhosts: Get rid of static buffer for path (kukuk)
Packit Service b29381
* pam_selinux/pam_unix/pam_rootok: Add SELinux support based on
Packit Service b29381
  patch from Red Hat (kukuk)
Packit Service b29381
* pam_limits: Correct support of unlimited limits, use correct type
Packit Service b29381
  for rlimit value (Bug 945449 - kukuk, t8m)
Packit Service b29381
* pam_xauth: Unset the XAUTHORITY variable when requesting user is
Packit Service b29381
  root and target user is not (t8m)
Packit Service b29381
* pam_access: Add listsep option to set list element separator by
Packit Service b29381
  Richard Shaffer (t8m)
Packit Service b29381
* pam_limits: Don't reset process priority if none is specified in
Packit Service b29381
  the config file (Novell #81690 - kukuk)
Packit Service b29381
* Fix all occurrence of dereferencing type-punned pointer will break
Packit Service b29381
  strict-aliasing rules warnings (kukuk)
Packit Service b29381
* pam_limits: Support new limits in linux 2.6.12 (t8m)
Packit Service b29381
* pam_mkhomedir: change mode datatype (toady)
Packit Service b29381
* pam_limits: Don't lowercase login names (kukuk)
Packit Service b29381
Packit Service b29381
0.79: Thu Mar 31 16:48:45 CEST 2005
Packit Service b29381
* pam_tally: added audit option (toady)
Packit Service b29381
* pam_unix: don't log user unknown failure when he can be properly
Packit Service b29381
  authenticated by another module (t8m)
Packit Service b29381
* configure: don't abort if no cracklib dictinaries were found, but
Packit Service b29381
  warn user that pam_cracklib will not be built (kukuk)
Packit Service b29381
* modules/pam_unix/support.c: Fix return value if user aborts while
Packit Service b29381
  changes the password (Bug 872945 - kukuk)
Packit Service b29381
* modules/pam_unix/support.c: Fix return value for an unknown user
Packit Service b29381
  (Bug 872943 - kukuk)
Packit Service b29381
* pam_limits: support for new Linux kernel 2.6 limits (from toby cabot
Packit Service b29381
  - t8m)
Packit Service b29381
* pam_tally: major rewrite of the module (t8m)
Packit Service b29381
* libpam: don't return PAM_IGNORE for OK or JUMP actions if using
Packit Service b29381
  cached chain (Bug 629251 - t8m)
Packit Service b29381
* pam_nologin: don't overwrite return value with return from
Packit Service b29381
  pam_get_item (t8m)
Packit Service b29381
* libpam: Add more checks for broken PAM configuration files to
Packit Service b29381
  avoid seg.faults (kukuk)
Packit Service b29381
* pam_shells: correct README
Packit Service b29381
* libpam: Fix debug code (kukuk)
Packit Service b29381
* pam_limits: Fix order of LIMITS_DEF_* priorities (kukuk)
Packit Service b29381
* pam_xauth: preserve DISPLAY variable (Novell #66885 - kukuk)
Packit Service b29381
* libpam: Add prelude ids (http://www.prelude-ids.org) support,
Packit Service b29381
  as experimental. (toady)
Packit Service b29381
* configure: Add the directory where new versions of cracklib is
Packit Service b29381
  installed (from Jim Gifford - toady)
Packit Service b29381
* libpamc: Use standard u_intX_t types instead of __uX (kukuk)
Packit Service b29381
Packit Service b29381
0.78: Do Nov 18 14:48:36 CET 2004
Packit Service b29381
Packit Service b29381
* pam_unix: change the order of trying password changes - local first,
Packit Service b29381
  NIS second (t8m)
Packit Service b29381
* pam_wheel: add option only_root to make it affect authentication
Packit Service b29381
  to root account only
Packit Service b29381
* pam_unix: test return values on renaming files and report error to
Packit Service b29381
  syslog and to user
Packit Service b29381
* pam_unix: forced password change shouldn't trump account expiration
Packit Service b29381
* pam_unix: remove the use of openlog (from debian - toady)
Packit Service b29381
* pam_unix: NIS cleanup (patch from Philippe Troin)
Packit Service b29381
* pam_access: you can now authenticate an explicit user on an explicit
Packit Service b29381
  tty (from debian - toady)
Packit Service b29381
* pam_limits, pam_rhosts, pam_unix: fixed hurd portability issues
Packit Service b29381
  (patch from Igor Khavkine)
Packit Service b29381
* pam_env: added comments in the configuration file to avoid errors
Packit Service b29381
  (from debian - toady)
Packit Service b29381
* pam_mail: check PAM_NO_ENV to know if we can delete the environment
Packit Service b29381
  variable (from debian - toady)
Packit Service b29381
* pam_filter: s/termio/termios/g (from debian - toady)
Packit Service b29381
* pam_mkhomedir: no maxpathlen required (from debian - toady)
Packit Service b29381
* pam_limits: applied patch to allow explicit limits for root
Packit Service b29381
  and remove limits on su. (from debian - toady)
Packit Service b29381
* pam_unix: severe denial of service possible with this module since
Packit Service b29381
  it locked too aggressively. Bug report and testing help from Sascha
Packit Service b29381
  Loetz. (Bug 664290 - agmorgan)
Packit Service b29381
* getlogin was spoofable: "/tmp/" and "/dev/" have the same number of
Packit Service b29381
  characters, so 'ln /dev/tty /tmp/tty1 ; bash < /tmp/tty1 ; logname'
Packit Service b29381
  attacks could potentially spoof pam_wheel with the 'trust' module
Packit Service b29381
  argument into granting access to a luser. Also, pam_unix gave
Packit Service b29381
  odd error messages in such a situation (logname != uid). This
Packit Service b29381
  problem was found by David Endler of iDefense.com (Bug 667584 -
Packit Service b29381
  agmorgan).
Packit Service b29381
* added my new DSA public key to the pgp.keys.asc file. Also included
Packit Service b29381
  a signed copy of my new public key (1024D/D41A6DF2) made with my old
Packit Service b29381
  key (1024/2A398175).
Packit Service b29381
* added "include" directive to config file syntax.
Packit Service b29381
  The whole idea is to create few "systemwide" pam configs and include
Packit Service b29381
  parts of them in application pam configs.
Packit Service b29381
  (patch by "Dmitry V. Levin" <ldv@altlinux.org>) (Bug 812567 - baggins).
Packit Service b29381
* doc/modules/pam_mkhomedir.sgml: Remove wrong debug options
Packit Service b29381
  (Bug 591605 - kukuk)
Packit Service b29381
* pam_unix: Call password checking helper whenever the password field
Packit Service b29381
  contains only one character (Bug 1027903 - kukuk)
Packit Service b29381
* libpam/pam_start.c: All service names should be files below /etc/pam.d
Packit Service b29381
  and nothing else. Forbid paths. (Bug 1027912 - kukuk)
Packit Service b29381
* pam_cracklib: Fix error in distance algorithm in the 0.9 pam_cracklib
Packit Service b29381
  module (Bug 1010142 - toady)
Packit Service b29381
* pam_userdb: applied patch from Paul Walmsley <paul@booyaka.com>
Packit Service b29381
  it now indicates whether encrypted or plaintext passwords are stored
Packit Service b29381
  in the database needed for pam_userdb (BerliOS - toady)
Packit Service b29381
* pam_group: The module should also ignore PAM_REINITIALIZE_CRED to
Packit Service b29381
  avoid spurious errors (from Linux distributors - kukuk)
Packit Service b29381
* pam_cracklib: Clear the entire options structure (from Linux
Packit Service b29381
  distributors - kukuk)
Packit Service b29381
* pam_issue: We write a NUL to prompt_tmp[tot_size] later, so make sure
Packit Service b29381
  that the destination is part of the allocated block, make do_prompt
Packit Service b29381
  static (from Linux distributors - kukuk)
Packit Service b29381
* ldconfig: Only run full ldconfig, if we don't install into a FAKEROOT
Packit Service b29381
  environment, else let ldconfig only create the symlinks correct
Packit Service b29381
  (from Linux distributors - kukuk)
Packit Service b29381
* pam_unix/pam_pwdb: Use SIG_DFL instead of SIG_IGN for SIGCHLD
Packit Service b29381
  (from Linux distributors - kukuk)
Packit Service b29381
* Add most of Steve Grubb's resource leak and other fixes (from
Packit Service b29381
  Linux distributors - kukuk)
Packit Service b29381
* doc/Makefile: Don't include .cvsignore files in tar ball (kukuk)
Packit Service b29381
* libpam_misc/misc_conv.c: Differentiate between Ctrl-D and
Packit Service b29381
  <Return> (Bug 1032604 - kukuk)
Packit Service b29381
* Make.Rules.in: Add targets for installing man pages for modules
Packit Service b29381
  (from Linux distributors - kukuk)
Packit Service b29381
* Add pam_xauth module (Bug 436440 - kukuk)
Packit Service b29381
* Add pam_localuser module (Bug 436444 - kukuk)
Packit Service b29381
* Add pam_succeed_if module (from Linux distributors - kukuk)
Packit Service b29381
* configure.in: Fix check for libcrypt (Bug 417704 - kukuk)
Packit Service b29381
* Add the "broken_shadow" argument to pam_unix, for ignoring errors
Packit Service b29381
  reading shadow information (from Linux distributors - kukuk)
Packit Service b29381
* Add patches to make PAM modules reentrant (Bug 440107 - kukuk)
Packit Service b29381
* Merge patches from Red Hat (Bug 477000 and other - kukuk)
Packit Service b29381
* Fix pam_rhosts option parsing (Bug 922648 - kukuk)
Packit Service b29381
* Add $ISA support in config files (from Red Hat - kukuk)
Packit Service b29381
Packit Service b29381
0.77: Mon Sep 23 10:25:42 PDT 2002
Packit Service b29381
Packit Service b29381
* documentation support for pdf files was not quite right -
Packit Service b29381
  installation was messed up.
Packit Service b29381
* pam_wheel was too aggressive to grant access (in the case of the
Packit Service b29381
  'deny' option you want to pay attention to 'trust'). Fix from
Packit Service b29381
  Nalin (Bugs 476951, 476953 - agmorgan)
Packit Service b29381
* account management support for: pam_shells, pam_listfile, pam_wheel
Packit Service b29381
  and pam_securetty (+ static module fix for pam_nologin). Patch from
Packit Service b29381
  redhat through Harald Welte (Bug 436435 - agmorgan).
Packit Service b29381
* pam_wheel feature from Nalin - can use the module to provide wheel
Packit Service b29381
  access to non-root accounts. Also from Nalin, a bugfix related to
Packit Service b29381
  the primary group of the applicant is the 'wheel' group. (Bugs
Packit Service b29381
  476980, 476941 - agmorgan)
Packit Service b29381
* pam_unix and pam_pwdb: by default turn off the SIGCHLD handler while
Packit Service b29381
  running the helper binary (patch from Nalin) added the "noreap"
Packit Service b29381
  module argument to both of these modules to turn off this new
Packit Service b29381
  default. Bugfix found by Silvan Minghetti for former module and
Packit Service b29381
  521314 checkin. (Bugs 476963, 521314 - agmorgan).
Packit Service b29381
* updated CHANGELOG and configure.in for 0.77 work.
Packit Service b29381
Packit Service b29381
0.76: Mon Jul  8 21:44:59 PDT 2002
Packit Service b29381
Packit Service b29381
* pam_unix: fix for legacy crypt() support when the password entered
Packit Service b29381
  was long. (Bug 521314 - agmorgan).
Packit Service b29381
* pam_access no longer include gethostname() prototype complaint from
Packit Service b29381
  David Lee (Bug 415423 - agmorgan).
Packit Service b29381
* make pam_nologin more secure by default, added two new module
Packit Service b29381
  arguments etc. - acting on suggestion from Nico (Bug 419307 -
Packit Service b29381
  agmorgan)
Packit Service b29381
* link in libpam to libpam_misc - since the latter uses functions in
Packit Service b29381
  the former it makes some sort of sense to do this (although, in the
Packit Service b29381
  static library case, I remain to be convinced). (Bug 565470 -
Packit Service b29381
  agmorgan).
Packit Service b29381
* absorbed some of the proposed darwin (OS X) changes from Luke Howard
Packit Service b29381
  (of PADL software) - hopefully will get the rest (see Rob Braun's
Packit Service b29381
  534205) by 0.77 (Bug 491466 - agmorgan).
Packit Service b29381
* README fix for pam_unix from Nalin (Bug 476971 - agmorgan).
Packit Service b29381
* add support for building pdf files from the documentation - request
Packit Service b29381
  from 'lolive' (Bug 471377 - agmorgan).
Packit Service b29381
* documented the equivalent '[..]' expressions for "required"
Packit Service b29381
  etc. Request from Ross Patterson (Bug 529078 - agmorgan).
Packit Service b29381
* '[...]' parsing: document it and also fix it to support '\]' escape
Packit Service b29381
  sequence. Feature request from Russell Kliese (Bug 517064 -
Packit Service b29381
  agmorgan).
Packit Service b29381
* pam_rootok: compilation warning noted by Tony den Haan wrt no
Packit Service b29381
  prototype for strcmp() (Bug 557322 - agmorgan).
Packit Service b29381
* documentation: (a few of mine in passing) and app documentation
Packit Service b29381
  suggestions regarding PAM environment variables and module
Packit Service b29381
  documentation changes regarding the conversation function from Jenn
Packit Service b29381
  Vesperman (Bug 527821, 527965 - agmorgan)
Packit Service b29381
* documentation: pam_time.sgml typo fixed, pam_motd exists now,
Packit Service b29381
  correct Red Hat comment about config files (Bugs 554274, 554261,
Packit Service b29381
  554182 - agmorgan)
Packit Service b29381
* pam_limits: added '%' domain for maxlogins limiting, now '*' and @group
Packit Service b29381
  have the old meaning (every) and '%' the new one (all)
Packit Service b29381
  (Bug 533664 - baggins)
Packit Service b29381
* pam_limits: put not so interesting log messages under debug arg
Packit Service b29381
  (Bug 533668 - baggins)
Packit Service b29381
* pam_access: added the 'fieldsep=' argument (Bug 547051 - agmorgan),
Packit Service b29381
  made a PAM_RHOST of "" equivalent to NULL (Bug 547521 - agmorgan).
Packit Service b29381
* pam_limits: keep well know behaviour of maxlogins default ('*') limit
Packit Service b29381
  (Bug 533664 - baggins)
Packit Service b29381
* pam_unix: more from Nalin log password changes (Bug 517743 - agmorgan)
Packit Service b29381
* pam_limits: make it use the priority value specified in config
Packit Service b29381
  (bug 530428 - baggins)
Packit Service b29381
* pam_unix: removed broken code in password update code. Report from
Packit Service b29381
  Len Lattanzi (Bug 507379 - agmorgan)
Packit Service b29381
* pam_mkhomedir: recurse directories. Patch from Nalin (Bug 476981 -
Packit Service b29381
  agmorgan)
Packit Service b29381
* pam_limits can handle negative priority limits now (which can apply
Packit Service b29381
  to the superuser too) - based on patch from Nalin. Also cleanup the
Packit Service b29381
  error handling that was very sloppy before. Also, courtesy of Berend
Packit Service b29381
  De Schouwe get the math right on login counting (Bug 476990, 476987,
Packit Service b29381
  493294 - agmorgan)
Packit Service b29381
* documentation: random typo fixes from Nalin and more stuff from me
Packit Service b29381
  (Bug 476949, Tasks 43507, 17426 - agmorgan)
Packit Service b29381
* A Tru64 fix (given other stuff has already resolved this, it
Packit Service b29381
  actually just a comment actually) from 'Eddie'. (Bug 418450 -
Packit Service b29381
  agmorgan)
Packit Service b29381
* pam_handlers: BSD fix from Dag-Erling Smørgrav and Anton Berezin
Packit Service b29381
  (Bug 486063 - agmorgan)
Packit Service b29381
* added the dynamic/* directory to the distribution. If you go in
Packit Service b29381
  there after building the rest of the tree, you'll make a pam.so
Packit Service b29381
  object that can be used by something like a java runtime with
Packit Service b29381
  dlopen. Its not very well tested - caveat emptor. (Bug 232194 -
Packit Service b29381
  agmorgan)
Packit Service b29381
* somehow pam_unix has started forcing the user prompt to be "login: ".
Packit Service b29381
  This is entirely inapropriate as it overrides PAM_USER_PROMPT. (Bug
Packit Service b29381
  486361 - agmorgan).
Packit Service b29381
* added a static module helper library object includes a few changes
Packit Service b29381
  to examples/xsh.c for testing purposes (added a simple shell wrapper
Packit Service b29381
  for running xsh with the sandbox libraries), and also modified the
Packit Service b29381
  pam_rhosts_auth module to use this new library. (Bug 490938, 409852
Packit Service b29381
  - agmorgan).
Packit Service b29381
* pam_unix: fix 'likeauth' to kill off the memory leak once and for all.
Packit Service b29381
  (Bug 483959 - vorlon)
Packit Service b29381
* pam_unix: restore handling of 'likeauth' argument to a known working
Packit Service b29381
  state; prettify AUTH_RETURN macro; remove redundant argv checks in
Packit Service b29381
  pam_sm_setcred() (Bugs 483959, 113596 - vorlon)
Packit Service b29381
* pam_cracklib: another try at implementing similar() from Harald
Packit Service b29381
  Welte and Nalin (Bugs 436053, 476957 - agmorgan)
Packit Service b29381
* pam_access: default access.conf file contained a type (console
Packit Service b29381
  instead of LOCAL) fix from Nalin (Bug 476934 - agmorgan)
Packit Service b29381
* pam_unix: fixed bizarre memory leak pointed out by Fernando Trias
Packit Service b29381
  (Bug 483959 - agmorgan)
Packit Service b29381
* misc string comparison length checking changes from Nalin. Modules
Packit Service b29381
  touched, pam_cracklib, pam_listfile, pam_unix, pam_wheel (Bug 476947 -
Packit Service b29381
  agmorgan)
Packit Service b29381
* pam_userdb: require that all of typed password matches that in
Packit Service b29381
  database report and fix from Vladimir Pastukhov. (Bug 484252 - agmorgan)
Packit Service b29381
* pam_malloc: revived malloc debugging code, now tied to
Packit Service b29381
  --enable-memory-debug and added strdup() support (Bug 485454 - agmorgan)
Packit Service b29381
* pam_tally: Nalin's fix for lastlog corruption (Bug 476985 - agmorgan)
Packit Service b29381
* pam_rhosts: Nalin adds support for '+hostname', and zdd fix
Packit Service b29381
  compilation warning. (Bug 476986 - agmorgan)
Packit Service b29381
* pam_motd: Nalin fixed compiler warning. (Bug 476938 - agmorgan)
Packit Service b29381
* pam_pwdb: Solar Designer pointed out that there was a problem with
Packit Service b29381
  the compatibility support for md5 password hashing. (Bug 460717,
Packit Service b29381
  476961 - agmorgan)
Packit Service b29381
* pam_issue: Nalin found segfaulting problems if the PAM_USER_PROMPT
Packit Service b29381
  is unset, found some similar problems with assumptions about
Packit Service b29381
  realloc. (Bug 476983 - agmorgan)
Packit Service b29381
* pam_env: 'weichangyang of hotmail' pointed out a wild string with no
Packit Service b29381
  valid '\0' was leading to problems with sshd and suggested fix (Bug
Packit Service b29381
  473034 - agmorgan)
Packit Service b29381
* MANDIR cleanup. It defaults to /usr/share/man, but can be overridden
Packit Service b29381
  using the --enable-mandir ./configure option, similarly for DOCDIR
Packit Service b29381
  from Nalin (Bug 476940 - agmorgan)
Packit Service b29381
* pam_filter cleanup (including moving the filter directory) Nalin
Packit Service b29381
  and Harald Welte (Bugs 436057, 476970 - agmorgan)
Packit Service b29381
* db3 is now recognized as a libdb candidate (Bug 435764 - agmorgan)
Packit Service b29381
* more changes (extracted from redhat version) courtesy of
Packit Service b29381
  Harald Welte (Bugs pam_limits=436061, pam_lastlog=436060,
Packit Service b29381
  pam_mkhomedir/pam_env=435991 - agmorgan)
Packit Service b29381
* fix for legacy behavior of pam_setcred and pam_close_session in
Packit Service b29381
  the case that pam_authenticate and pam_open_session hadn't been
Packit Service b29381
  called - bug report from Seongwan Park. (Bug 468724 - agmorgan)
Packit Service b29381
* some BSD updates and fixes from Mark Murray - including a slightly
Packit Service b29381
  more robust conversation function and some minimization of gcc
Packit Service b29381
  warnings. (Bugs 449203,463984 - agmorgan)
Packit Service b29381
* verified that the setcred stack didn't suffer from the bug I was
Packit Service b29381
  nervous about, add a new module pam_debug to help me test this.
Packit Service b29381
  fixed a libpam/pam_dispatch.c instrumentation line that I tripped
Packit Service b29381
  over when testing. Also restructured pam_warn to help here (Bug
Packit Service b29381
  424315 - agmorgan).
Packit Service b29381
* pam_unix/support.c: sample use of reentrant NSS function.  Not yet active,
Packit Service b29381
  because modules do not include _pam_aconf_h! (Bug 440107 - vorlon)
Packit Service b29381
* doc/Makefile changes - use $(mandir) [courtesy Harald Welte] (Bug
Packit Service b29381
  435760) and add some rules to make/delete the draft rfc I've been
Packit Service b29381
  working on (Task 17426 - agmorgan)
Packit Service b29381
* pam_modules.sgml: sourceforge has changed its CVS viewing software
Packit Service b29381
  (Bug 460491 - agmorgan)
Packit Service b29381
* pam_unix_passwd: got rid of an annoying warning (Bug 461089 - agmorgan)
Packit Service b29381
* configure.in, _pam_aconf.h.in: set the stage for fully reentrant PAM
Packit Service b29381
  modules, with some infrastructure to detect getxxbyxx_r() functions
Packit Service b29381
  (Bug 440107 - vorlon)
Packit Service b29381
* pam_unix: removed superfluous use of static variables in md5 and bigcrypt
Packit Service b29381
  routines, bringing us a step closer to thread-safeness.  Eliminated
Packit Service b29381
  some variable indirection along the way.  (Bug 440107 - vorlon)
Packit Service b29381
* pam_tally: remove #include of stdlib.h, which isn't needed by anything
Packit Service b29381
  found in this module.  Can be readded if we find a real need for it at
Packit Service b29381
  a later date. (Bug 436432 - vorlon)
Packit Service b29381
* pam_tally: added an #include (was it really needed?) and made the
Packit Service b29381
  pam_tally app install (with more pretty printing and a corrected
Packit Service b29381
  Makefile dependency) motivated by a (red hat diff) courtesy of Harald
Packit Service b29381
  Welte (Bug 436432 - agmorgan)
Packit Service b29381
* configure.in changes to help support non-Linux environments courtesy
Packit Service b29381
  of Scott T. Emery (Bug 422563 - agmorgan)
Packit Service b29381
* made a pam_cracklib enhancement to interpret -ve limits in a
Packit Service b29381
  sensible fashion contributed by Werner Puschitz (Bug 413162 -
Packit Service b29381
  agmorgan)
Packit Service b29381
* another fix for the latest number of rlimits available to pam_limits
Packit Service b29381
  (Bug 424060 - agmorgan)
Packit Service b29381
* removed stale link from pam_pwdb documentation (Bug 433460 - agmorgan)
Packit Service b29381
* pam_appl.sgml change - more discussion of choosing a service name
Packit Service b29381
  (Bug 417512 - agmorgan)
Packit Service b29381
* more specific linking requirements for -lndbm for pam_userdb - from
Packit Service b29381
  David Lee (Bug 417339 - agmorgan)
Packit Service b29381
* a large number of small changes to make AIX support better (Bug
Packit Service b29381
  416229 - agmorgan)
Packit Service b29381
* $(MAKE) instead of 'make' - from Scott T. Emery (Bug 422144 -
Packit Service b29381
  agmorgan)
Packit Service b29381
* c++ header fixes for pam_misc.h and pam_client.h - from Alexandre
Packit Service b29381
  Sagala (Bug 420270 - agmorgan)
Packit Service b29381
* pam_access fixes - looks out for trailing '.' - from Carlo Marcelo
Packit Service b29381
  Arenas Belon (Bug 419631 - agmorgan)
Packit Service b29381
* don't zero out password strings during pam_unix's password changing
Packit Service b29381
  function (Bug 419803 - vorlon)
Packit Service b29381
* propagate some definitions to the _pam_aconf.h file - from David Lee
Packit Service b29381
  (Bug 415419 - agmorgan)
Packit Service b29381
* solaris GCC OS_CFLAGS change from David Lee (Bug 415412 - agmorgan)
Packit Service b29381
* added a comment to this CHANGELOG to explain why most of the bugids
Packit Service b29381
  used below appear not to be known to sourceforge [try adding 100000
Packit Service b29381
  to the bugid number.] (Bug 414943 - agmorgan)
Packit Service b29381
* bumped version numbers and also added support for SONAME defines
Packit Service b29381
  that appear not to have survived the great autoconf experiment (Bug
Packit Service b29381
  414669 - agmorgan).
Packit Service b29381
Packit Service b29381
0.75: Sat Apr  7 23:10:50 PDT 2001
Packit Service b29381
Packit Service b29381
                          ** WARNING **
Packit Service b29381
Packit Service b29381
This release contains backwardly incompatible changes to
Packit Service b29381
libpam. Prior versions were buggy - see bugfix for Bug 129775.
Packit Service b29381
Packit Service b29381
                          ** WARNING **
Packit Service b29381
Packit Service b29381
* made 0.75 release (Bug 414665 - agmorgan)
Packit Service b29381
* pam_pwdb has been removed from the suggested pam.conf template. I've
Packit Service b29381
  replaced it with pam_unix. (Bug 227565 - agmorgan)
Packit Service b29381
* pam_limits - Richard M. Yumul reported that "<domain> -" didn't
Packit Service b29381
  work, first fix suggested by Werner Puschitz (Bug 404953 - agmorgan)
Packit Service b29381
* Nicolay Pelov suggested a simple fix for freebsd support (Bug 407282
Packit Service b29381
  - agmorgan)
Packit Service b29381
* Michel D'HOOGE submitted documentation fixes (Bug 408961 - agmorgan)
Packit Service b29381
* fix for module linking directions (Bug 133545 - agmorgan)
Packit Service b29381
* fix for glibc-2.2.2 compilation of pam_issue (Bug 133542 - agmorgan)
Packit Service b29381
* fix pam_userdb to make and link both .o files it needs - converse()
Packit Service b29381
  wasn't being linked! (Bug 132880 - agmorgan)
Packit Service b29381
* added some sys-admin documentation for the pam_tally module (Bug
Packit Service b29381
  126210 - agmorgan).
Packit Service b29381
* added a link to module examples from the module writers doc (Bug
Packit Service b29381
  131192 - agmorgan).
Packit Service b29381
* fixed a small security hole (more of a user confusion issue) with
Packit Service b29381
  the unix and pwdb password helper binaries. The beef is described in
Packit Service b29381
  the bug report, but no uid change was possible so no-one should
Packit Service b29381
  think they need to issue a security bulletin over this one! (Bug
Packit Service b29381
  112540 - agmorgan)
Packit Service b29381
* pam_lastlog needs to be linked with -lutil, also removed ambiguity
Packit Service b29381
  from sysadmin guide regarding this module being a 'session' module
Packit Service b29381
  (Bug 131549 - agmorgan).
Packit Service b29381
* pam_cracklib needs to be linked with -lcrypt (old password checking)
Packit Service b29381
  (Bug 131601 - agmorgan).
Packit Service b29381
* fixes for static library builds and also the examples when linked
Packit Service b29381
  with the debugging build of the libraries. (Bug 131783 - agmorgan)
Packit Service b29381
* fixed URL for original RFC to a cached kernel.org file. (Bug 131503
Packit Service b29381
  - agmorgan)
Packit Service b29381
* quoted the $CRACKLIB_DICTPATH test in configure.in (Bug 130130 -
Packit Service b29381
  agmorgan).
Packit Service b29381
* improved handling of the setcred/close_session and update chauthtok
Packit Service b29381
  stack. *Warning* This is a backwardly incompatable change, but 'more
Packit Service b29381
  sane' than before. (Bug 129775 - agmorgan)
Packit Service b29381
* bumped the version number, and added some code to assist in making
Packit Service b29381
  documentation releases (Bug 129644 - agmorgan).
Packit Service b29381
Packit Service b29381
0.74: Sun Jan 21 22:36:08 PST 2001
Packit Service b29381
Packit Service b29381
* made 0.74 release (Bug 129642 - agmorgan)
Packit Service b29381
* libpam - cleaned up a few non-static functions to be static and added
Packit Service b29381
  support for libpam to enforce things like pam_[gs]et_data() and
Packit Service b29381
  AUTHTOK rules for using the API. Also documented pam_[gs]et_item()
Packit Service b29381
  a little better including return codes (Bugs 129027, 128576 -
Packit Service b29381
  agmorgan).
Packit Service b29381
* pam_access - fixed the non-default config file option (Bug 127561 -
Packit Service b29381
  agmorgan)
Packit Service b29381
* pam.8 manual page clarified with respect to the default location for
Packit Service b29381
  finding modules, also added some text describing the [...] control
Packit Service b29381
  syntax. (Bug 127625 - agmorgan)
Packit Service b29381
* md5.h ia64 fixes for pam_unix and pam_pwdb (Bug 127700 - agmorgan)
Packit Service b29381
* removed requirement for c++ from the configure{.in,} files (Bug
Packit Service b29381
  128298 - agmorgan)
Packit Service b29381
* removed subdirectories from man page redirections (124396 - baggins)
Packit Service b29381
* per David Lee, fixed non-POSIX shell command in modules/pam_filter/Makefile
Packit Service b29381
  (Bug 126440 - vorlon)
Packit Service b29381
* modify format of pam_unix log messages to include service name
Packit Service b29381
  (Bug 126423 - vorlon)
Packit Service b29381
* prevent pam_unix from logging unknown usernames (Bug 126431 - vorlon)
Packit Service b29381
* changed format of pam_unix 'authentication failure' log messages to make
Packit Service b29381
  them clearer and more consistent (Bug 126036 - vorlon)
Packit Service b29381
* improved portability of pam_unix by eliminating Linux-specific utmp
Packit Service b29381
  defines in PAM_getlogin() (Bug 125704 - vorlon)
Packit Service b29381
* removed static variables from pam_tally (Bug 117434 - agmorgan)
Packit Service b29381
* added copyright message to pam_access module from original logdaemon
Packit Service b29381
  sources (Bug 125022 - agmorgan)
Packit Service b29381
* configure.in - removed the GCC -Wtraditional flag (Bug 124923 - agmorgan)
Packit Service b29381
* pam_mail - use PAM_PATH_MAILDIR as the location of mail spool
Packit Service b29381
  (Bug 124397 - baggins)
Packit Service b29381
* _pam_aconf.h.in, configure.in - added PAM_PATH_MAILDIR set via
Packit Service b29381
  --with-mailspool=dir option (default is _PAM_MAILDIR if defined
Packit Service b29381
  in paths.h otherwise /var/spool/mail (Bug 124397 - baggins)
Packit Service b29381
* removed unnecessary CVS Log tags from all over the source
Packit Service b29381
  (Bug 124391 - baggins)
Packit Service b29381
* pam_tally - check for PAM_TTY if PAM_RHOST is not set when writing
Packit Service b29381
  to faillog (Bug 124394 - baggins)
Packit Service b29381
* use O_NOFOLLOW if available when opening debug log (Bug 124385 - baggins)
Packit Service b29381
* pam_cracklib - removed comments about pam_unix not working with
Packit Service b29381
  pam_cracklib, added information about use_authtok parameter
Packit Service b29381
  (Bug 124388 - baggins)
Packit Service b29381
* pam_userdb - fixed wrong definition of struct pam_module (was pam_wheel)
Packit Service b29381
  (Bug 124386 - baggins)
Packit Service b29381
* fixed example/Makefile include path (Bug 124187, 127563(?) - agmorgan)
Packit Service b29381
* pam_userdb compiles on RH5x. Also removed circular dependency on
Packit Service b29381
  configure.in. Also bumped revision number to 0.74. (Bug 124136 -
Packit Service b29381
  agmorgan)
Packit Service b29381
Packit Service b29381
0.73: Sat Dec  2 00:04:04 PST 2000
Packit Service b29381
Packit Service b29381
* updated documentaion revisions and added 'make release' support
Packit Service b29381
  to the top level Makefile (Bug 124132 - agmorgan).
Packit Service b29381
* documented Qmail support in pam_mail (Bug 109219 - baggins)
Packit Service b29381
* add change_uid option to pam_limits, and set real uid only if
Packit Service b29381
  this option is present (Bug 124062 - baggins)
Packit Service b29381
* pam_limits - set real uid to the user for who we set limits.
Packit Service b29381
  (Bug 123972 - baggins)
Packit Service b29381
* removed static variables from pam_limits (thread safe now). (Bug
Packit Service b29381
  117450 - agmorgan).
Packit Service b29381
* removed static variable from pam_wheel (module should be thread safe
Packit Service b29381
  now). (Bug 112906 - agmorgan)
Packit Service b29381
* added support for '/' symbols in pam_time and pam_group config files
Packit Service b29381
  (support for modern terminal devices). Fixed infinite loop problem
Packit Service b29381
  with '\\[^\n]' in these files. (Bug 116076 - agmorgan)
Packit Service b29381
* avoid potential SIGPIPE when writing to helper binaries with (Bug
Packit Service b29381
  123399 - agmorgan)
Packit Service b29381
* replaced bogus logic in the pam_cracklib module for determining if
Packit Service b29381
  the replacement is too similar to the old password (Bug 115055 -
Packit Service b29381
  agmorgan)
Packit Service b29381
* added accessconf=<filename> feature to pam_access - request from
Packit Service b29381
  Aldrin Martoq and Meelis Roos (Bugs 111927,117240 - agmorgan)
Packit Service b29381
* fix for pam_limit module not dealing with all limits Adam J. Richter
Packit Service b29381
  (Bug 119554 - agmorgan)
Packit Service b29381
* comment fix describing fail_delay callback in _pam_types.h (Bug
Packit Service b29381
  112646 - agmorgan)
Packit Service b29381
* "likeauth" fix for pam_unix and pam_pwdb which (Bug 113596 - agmorgan)
Packit Service b29381
* fix for pam_unix (support.c) to avoid segfault with NULL password
Packit Service b29381
  (Bug 113238 - vorlon)
Packit Service b29381
* fix to pam_unix_passwd: try repeatedly to get a lock on the password
Packit Service b29381
  file, instead of failing immediately (Bug 108845 - fix vorlon)
Packit Service b29381
* fix to pam_shells: logged information was not formatted correctly
Packit Service b29381
  (extra comma) (Bug 111491 - fix vorlon)
Packit Service b29381
* fix for C++ application support (Bug 111645 - fix agmorgan)
Packit Service b29381
* fix for typo in pam_client.h (Bug 111648 - fix agmorgan)
Packit Service b29381
* removal of -lpam from pam_mkhomedir Makefile (Bug 116380 - fix agmorgan)
Packit Service b29381
* autoconf support [Task ID 15788, Bug ID 108297 - agmorgan with help!]
Packit Service b29381
 - bugfix for libpamc.h include file [Bug ID 117476 - agmorgan]
Packit Service b29381
 - bugfix for pam_filter.h inclusion [Bug ID 117474 - agmorgan]
Packit Service b29381
Packit Service b29381
0.72: Mon Dec 13 22:41:11 PST 1999
Packit Service b29381
Packit Service b29381
* patches from Debian (Ben Collins): pam_ftp supports event driven
Packit Service b29381
  conversations now; pwdb_chkpwd cleanup; pam_warn static compile fix;
Packit Service b29381
  user_db compiler warnings removed; debian defs file; pam_mail can
Packit Service b29381
  now be used as a session module
Packit Service b29381
* ndbm compilation option for user_db module (fix explained by Richard Khoo)
Packit Service b29381
* pam_cracklib bug fix
Packit Service b29381
* packaging fixes & build from scratch stuff (Konst Bulatnikov & Frodo
Packit Service b29381
  Looijaard)
Packit Service b29381
* -ldl appended to the libpam.so compilation make rule. (Charles Seeger)
Packit Service b29381
* Red Hat security patch for pam_pwdb forwarded by Debian! (Ben
Packit Service b29381
  Collins. Fix provided by Andrey as it caught the problem earlier in the
Packit Service b29381
  code.)
Packit Service b29381
* heuristic to prevent leaking filedescriptors to an agent. [This needs
Packit Service b29381
  to be better supported perhaps by an additional libpamc API function?]
Packit Service b29381
* pam_userdb segfault fix from (Ben Collins)
Packit Service b29381
* PAM draft spec extras added at request of 'sen_ml'
Packit Service b29381
Packit Service b29381
0.71: Sun Nov  7 20:21:19 PST 1999
Packit Service b29381
Packit Service b29381
* added -lc to linker pass for pam_nologin module (glibc is weird).
Packit Service b29381
* various header changes to lower the number of warnings on glibc
Packit Service b29381
  systems (Dan Yefimov)
Packit Service b29381
* merged a bunch of Debian fixes/patches/documentation (Ben Collins)
Packit Service b29381
  things touched: libpam (minor); doc/modules/pam_unix.sgml; pam_env
Packit Service b29381
  (plus docs); pam_mkhomedir (new module for new home directories on
Packit Service b29381
  the fly...); pam_motd (new module); pam_limits (adjust to match
Packit Service b29381
  docs); pam_issue (new module + doc) [Some of these were also
Packit Service b29381
  submitted by Thorsten Kukuk]
Packit Service b29381
* small hack to lower the number of warnings that pam_client.h was
Packit Service b29381
  generating.
Packit Service b29381
* debian and SuSE apparently can use the pam_ftp module, so
Packit Service b29381
  removed the obsolete comment about this from the docs. (Thorsten
Packit Service b29381
  Kukuk)
Packit Service b29381
Packit Service b29381
0.70: Fri Oct  8 22:05:30 PDT 1999
Packit Service b29381
Packit Service b29381
* bug fix for parsing of value=action tokens in libpam/pam_misc.c was
Packit Service b29381
  segfaulting (Jan Rekorajski and independently Matthew Melvin)
Packit Service b29381
* numerous fixes from Thorsten Kukuk (icluding much needed fixes for
Packit Service b29381
  bitrot in modules and some documentation) that got included in SuSE 6.2.
Packit Service b29381
* reentrancy issues in pam_unix and pam_cracklib resolved (Jan Rekorajski)
Packit Service b29381
* added hosts_equiv_rootok module option to pam_rhosts module (Tim Berger)
Packit Service b29381
* added comment about 'expose_account' module argument to admin and
Packit Service b29381
  module writers' docs (request from Michael K Johnson).
Packit Service b29381
* myriad of bug fixes for libpamc - library now built by default and
Packit Service b29381
  works with the biomouse fingerprint scanner agent/module
Packit Service b29381
  (distributed separately).
Packit Service b29381
Packit Service b29381
0.69: Sun Aug  1 20:25:37 PDT 1999
Packit Service b29381
Packit Service b29381
* c++ header #ifdef'ing for pam_appl.h (Tuomo Pyhala)
Packit Service b29381
* added pam_userdb module (Cristian Gafton)
Packit Service b29381
* minor documentation changes
Packit Service b29381
* added in revised pam_client library (libpamc). Not installed by
Packit Service b29381
  default yet, since the example agent/module combo is not very secure.
Packit Service b29381
* glibc fixes (Thorsten Kukuk, Adam J. Richter)
Packit Service b29381
Packit Service b29381
0.68: Sun Jul  4 23:04:13 PDT 1999
Packit Service b29381
Packit Service b29381
* completely new pam_unix module from Jan Rekorajski and Stephen Langasek
Packit Service b29381
* Jan Rekorajski pam_mail - support for Maildir format mailboxes
Packit Service b29381
* Jan Rekorajski pam_cracklib - support for old password comparison
Packit Service b29381
* Jan Rekorajski bug fix for pam_pwdb setcred reusing auth retval
Packit Service b29381
* Andrey's pam_tally patch (lstat -> fstat)
Packit Service b29381
* Robert Milkowski's additional pam_tally patches to **change format of
Packit Service b29381
  /var/log/faillog** to one from shadow-utils, add new option "per_user"
Packit Service b29381
  for pam_tally module, failure time logging, support for fail_line
Packit Service b29381
  field, and support for fail_locktime field with new option
Packit Service b29381
  no_lock_time.
Packit Service b29381
* pam_tally: clean up the tally application too.
Packit Service b29381
* Marcin Korzonek added process priority settings to pam_limits (bonus
Packit Service b29381
  points for adding to documentation!)
Packit Service b29381
* Andrey's pam_pwdb patch (cleanup + md5 endian fubar fix)
Packit Service b29381
* more binary prompt preparations (make misc conv more compatible with spec)
Packit Service b29381
* modified callback hook for fail delay to be more useful with event
Packit Service b29381
  driven applications (changed function prototype - suspect no one
Packit Service b29381
  will notice). Documented this in app developer guide.
Packit Service b29381
* documentation for pam_access from Tim Berger
Packit Service b29381
* syntax fixes for the documentation - a long time since I've built it :*(
Packit Service b29381
  added some more names to the CREDITS file.
Packit Service b29381
Packit Service b29381
0.67: Sat Jun 19 14:01:24 PDT 1999
Packit Service b29381
Packit Service b29381
* [dropped libpam_client - libpamc will be in the next release and
Packit Service b29381
   conforms to the developing spec in doc/specs/draft-morgan-pam.raw.
Packit Service b29381
   Sorry if you are keeping a PAM tree in CVS. CVS is a pain for
Packit Service b29381
   directories, but this directory was actually not referenced by
Packit Service b29381
   anything so the disruption should be light.]
Packit Service b29381
* updates to pam_tally from Tim
Packit Service b29381
* multiple updates from Stephen Langasek to pam_unix
Packit Service b29381
* pam_filter had some trouble compiling (bug report from Sridhar)
Packit Service b29381
* pam_wheel now attempts to identify the wheel group for the local
Packit Service b29381
  system instead of blindly assuming it is gid=0. In the case that
Packit Service b29381
  there is no "wheel" group, we default to assuming gid=0 is what was
Packit Service b29381
  meant - former behavior. (courtesy of Sridhar)
Packit Service b29381
* NIS+ changes to pam_unix module from Dmitry O Panov
Packit Service b29381
* hopefully, a fix for redefinition of LOG_AUTHPRIV (bug report Luke
Packit Service b29381
  Kenneth Casson Leighton)
Packit Service b29381
* fix for minor typo in pam_wheel documentation (Jacek Kopecky)
Packit Service b29381
* slightly more explanation of the [x=y] pam.conf syntax in the sys
Packit Service b29381
  admin guide.
Packit Service b29381
Packit Service b29381
0.66: Mon Dec 28 20:22:23 PST 1998 <morgan@linux.kernel.org>
Packit Service b29381
Packit Service b29381
* Started using cvs to keep track of changes to Linux-PAM.  This will
Packit Service b29381
  likely break some of the automated building stuff (RPMs etc..).
Packit Service b29381
* security bug fix to pam_unix and pam_tally from Andrey.
Packit Service b29381
* modules make file is now more automatic.  It should be possible to
Packit Service b29381
  unpack an external module in the modules directory and have it automatically
Packit Service b29381
  added to the build process.  Also added a modules/download-all script
Packit Service b29381
  that will make such downloading easier.  I'm happy to receive patches to
Packit Service b29381
  this file, informing the distribution of places from which to enrich itself.
Packit Service b29381
* removed pam_system_log stuff.  Thought about it long and hard: a
Packit Service b29381
  bad idea.  If libc cannot guarantee a thread safe syslog, it needs
Packit Service b29381
  to be fixed and compatibility with other PAM libraries was
Packit Service b29381
  unnecessarily strained.
Packit Service b29381
* SAG documentation changes: Seth Chaiklin
Packit Service b29381
* rhosts: problems with NIS lookup failures with the root-uid check.
Packit Service b29381
  As a work-around, I've partially eliminated the need for the lookup
Packit Service b29381
  by supplying two new arguments: no_uid_check, superuser=<username>.
Packit Service b29381
  As a general rule this is more pluggable, since this module might be
Packit Service b29381
  used as an authentication scheme for a network service that does not
Packit Service b29381
  need root privilege...
Packit Service b29381
* authenticate retval -> setcred for pam_pwdb (likeauth arg).
Packit Service b29381
* pam_pwdb event driven support
Packit Service b29381
* non openlog pam_listfile logging
Packit Service b29381
* BUGFIX: close filedescriptor in pam_group and pam_time (Emmanuel Galanos)
Packit Service b29381
* Chris Adams' mailhash change for pam_mail module
Packit Service b29381
* fixed malloc failure check in pam_handlers.c (follow up to comment
Packit Service b29381
  by Brad M. Garcia).
Packit Service b29381
* update to _pam_compat.h (Brad M. Garcia)
Packit Service b29381
* support static modules in libpam again (Brad M. Garcia)
Packit Service b29381
* libpam/pam_misc.c for egcs to grok the code (Brad M. Garcia)
Packit Service b29381
* added a solaris-2.5.1 defs file (revived by Derrick J Brashear)
Packit Service b29381
* pam_listfile logs failed attempts
Packit Service b29381
* added a comment (Michael K Johnson pointed it out) about sgml2latex
Packit Service b29381
  having a new syntax.  I'll make it the change real when I upgrade...
Packit Service b29381
* a little more text to the RFC, spelling fix from William J Buffam.
Packit Service b29381
* minor changes to pam_securetty to accommodate event driven support.
Packit Service b29381
Packit Service b29381
0.65: Sun Apr  5 22:29:09 PDT 1998 <morgan@linux.kernel.org>
Packit Service b29381
Packit Service b29381
* added event driven programming extensions to libpam
Packit Service b29381
 - added PAM_INCOMPLETE handling to libpam/pam_dispatch.c
Packit Service b29381
 - added PAM_CONV_AGAIN which is a new conversation response that
Packit Service b29381
   should be mapped to PAM_INCOMPLETE by the module.
Packit Service b29381
 - ensured that the pam_get_user() function can resume
Packit Service b29381
 - changes to pam_strerror to accommodate above return codes
Packit Service b29381
 - clean up _pam_former_state at pam_end()
Packit Service b29381
 - ensured that former state is correctly initialized
Packit Service b29381
 - added resumption tests to pam_authenticate(), pam_chauthtok()
Packit Service b29381
 - added PAM_FAIL_DELAY item for pausing on failure
Packit Service b29381
Packit Service b29381
* improved _pam_macros.h so that macros can be used as single commands
Packit Service b29381
  (Andrey)
Packit Service b29381
Packit Service b29381
* reimplemented logging to avoid bad interactions with libc.  Added
Packit Service b29381
  new functions, pam_[,v]system_log() to libpam's API.  A programmer
Packit Service b29381
  can check for this function's availablility by checking if
Packit Service b29381
  HAVE_PAM_SYSTEM_LOG is #defined.
Packit Service b29381
Packit Service b29381
* removed the reduce conflict from pam_conv1 creation -- I can sleep
Packit Service b29381
  again now. :^]
Packit Service b29381
Packit Service b29381
* made building of static and dynamic libpam separate.  This is
Packit Service b29381
  towards making it possible to build both under Solaris (for Derrick)
Packit Service b29381
Packit Service b29381
* made USE_CRACKLIB a condition in unix module (Luke Kenneth Casson Leighton)
Packit Service b29381
Packit Service b29381
* automated (quiet) config installation (Andrey)
Packit Service b29381
Packit Service b29381
0.64: Thu Feb 19 23:30:24 PST 1998 Andrew Morgan <morgan@linux.kernel.org>
Packit Service b29381
Packit Service b29381
* miscellaneous patches for building under Solaris (Derrick J Brashear)
Packit Service b29381
Packit Service b29381
* removed STATIC support from a number of module Makefiles.  Notably,
Packit Service b29381
  these modules are those that use libpwdb and caused difficulties
Packit Service b29381
  satisfying the build process. (Please submit patches to fix this...;)
Packit Service b29381
Packit Service b29381
* reomved the union for binary packet conversations from
Packit Service b29381
  (_pam_types.h).  This is now completely implemented in libpam_client.
Packit Service b29381
Packit Service b29381
* Andrey's patch for working environment variable handling in
Packit Service b29381
  sh_secret module.
Packit Service b29381
Packit Service b29381
* made the libpam_misc conversation function a bit more flexible with
Packit Service b29381
  respect to binary conversations.
Packit Service b29381
Packit Service b29381
* added top level define (DEBUG_REL) for compiling in the form of
Packit Service b29381
  a debugging release.  I use this on a Red Hat 4.2 system with little
Packit Service b29381
  chance of crashing the system as a whole.  (Andrey has another
Packit Service b29381
  implementation of this -- with a spec file to match..)
Packit Service b29381
Packit Service b29381
0.63: Wed Jan 28 22:55:30 PST 1998 Andrew Morgan <morgan@linux.kernel.org>
Packit Service b29381
Packit Service b29381
* added libpam_client "convention" library.  This makes explicit the
Packit Service b29381
  use of PAM_BINARY_PROMPT.  It is a first cut, so don't take it too
Packit Service b29381
  seriously yet.  Comments/suggestions for improvements are very
Packit Service b29381
  welcome.  Note, this library does not compile by default.  It will
Packit Service b29381
  be enabled when it is judged stable.  The library comes with two
Packit Service b29381
  module/agent pairs and can be used with ssh using a patch available
Packit Service b29381
  from my pre-release directory [where you got this file.]
Packit Service b29381
Packit Service b29381
* backward compatibility patch for libpam/pam_handlers.c (PAM_IGNORE
Packit Service b29381
  was working with neither "requistie" nor "required") and a DEBUG'ing
Packit Service b29381
  compile time bug with pam_dispatch.c (Savochkin Andrey Vladimirovich)
Packit Service b29381
Packit Service b29381
* minor Makefile change from (Savochkin Andrey Vladimirovich)
Packit Service b29381
Packit Service b29381
* added pam_afsauth, pam_afspass, pam_restrict, and pam_syslog hooks
Packit Service b29381
  (Derrick J Brashear)
Packit Service b29381
Packit Service b29381
* pam_access use of uname(2) problematic (security problem
Packit Service b29381
  highlighted by Olaf Kirch).
Packit Service b29381
Packit Service b29381
* pam_listfile went a bit crazy reading group membersips (problem
Packit Service b29381
  highlighted by Olaf Kirch and patched independently by Cristian
Packit Service b29381
  Gafton and Savochkin Andrey Vladimirovich)
Packit Service b29381
Packit Service b29381
* compatibility hooks for solaris and hpux (Derrick J Brashear)
Packit Service b29381
Packit Service b29381
* 64 bit Linux/alpha bug fixed in pam_rhosts (Andrew D. Isaacson)
Packit Service b29381
Packit Service b29381
0.62: Wed Jan 14 14:10:55 PST 1998   Andrew Morgan <morgan@linux.kernel.org>
Packit Service b29381
Packit Service b29381
* Derrick J Brashear's patches: adds the HP stuff missed in the first
Packit Service b29381
  patch; adds SunOS support; adds support for the Solaris native ld
Packit Service b29381
  instead of requiring gnu ld.
Packit Service b29381
Packit Service b29381
* last line of .rhosts file need not contain a newline. (Bug reported by
Packit Service b29381
  Thompson Freeman.)
Packit Service b29381
Packit Service b29381
0.61: Thu Jan  8 22:57:44 PST 1998  Andrew Morgan <morgan@linux.kernel.org>
Packit Service b29381
Packit Service b29381
* complete rewrite of the "control flag" logic.  Formerly, we were
Packit Service b29381
  limited to four flags: requisite, required, sufficient, optional.
Packit Service b29381
  We can now use these keywords _and_ a great deal more besides.
Packit Service b29381
  The extra logic was inspired by Vipin Samar, a preliminary patch was
Packit Service b29381
  written by Andy Berkheimer, but I "had some ideas of my own" and
Packit Service b29381
  that's what I've actually included.  The basic idea is to allow the
Packit Service b29381
  admin to custom build a control flag with a series of token=value
Packit Service b29381
  pairs inside square brackets.  Eg., '[default=die success=ok]' which
Packit Service b29381
  is pretty close to a synonym for 'requisite'.  I'll try to document it
Packit Service b29381
  better in the sys-admin guide but I'm pretty sure it is a change for
Packit Service b29381
  the better....  If what is in the sys-admin guide is not good enough
Packit Service b29381
  for you, just take a look at the source for libpam ;^)
Packit Service b29381
Packit Service b29381
0.59: Thu Jan  8 22:27:22 PST 1998 Andrew Morgan <morgan@linux.kernel.org>
Packit Service b29381
Packit Service b29381
* better handling of empty lines in .rhosts file.  (Formerly, we asked
Packit Service b29381
  the nameserver about them!) Fix from Hugh Daschbach.
Packit Service b29381
Packit Service b29381
* _broke_some_binary_compatibility_ with previous versions to become
Packit Service b29381
  compliant with X/Open's XSSO spec.  Specifically, this has been
Packit Service b29381
  by changing the prototype for pam_strerror().
Packit Service b29381
Packit Service b29381
* altered the convention for the conversation mechanism to agree
Packit Service b29381
  with that of Sun.  (number of responses 'now=' number of messages
Packit Service b29381
  with help from Cristian for finding a bug.. Cristian also found a
Packit Service b29381
  nasty speradic segfault bug -- Thanks!)
Packit Service b29381
Packit Service b29381
* added NIS+ support to pam_unix_*
Packit Service b29381
Packit Service b29381
* fixed a "regular file checking" problem with the ~/.rhosts sanity
Packit Service b29381
  check.  Added "privategroup" option to permit group write permission
Packit Service b29381
  on the ~/.rhosts file in the case that the group owner has the same
Packit Service b29381
  name as the authenticating user.  :*) "promiscuous" and "suppress"
Packit Service b29381
  were not usable!
Packit Service b29381
Packit Service b29381
* added glibc compatibility to pam_rhosts_auth (protected __USE_MISC
Packit Service b29381
  with #ifndef since my libc already defines it!).
Packit Service b29381
Packit Service b29381
* Security fix from Savochkin Andrey Vladimirovich with suggested
Packit Service b29381
  modification from Olaf Seibert.
Packit Service b29381
Packit Service b29381
* preC contains mostly code clean-ups and a number of changes to
Packit Service b29381
  _pam_macros.
Packit Service b29381
Packit Service b29381
0.58: whenever
Packit Service b29381
Packit Service b29381
* pam_getenvlist() has a more robust definition (XSSO) than was previously
Packit Service b29381
  thought.  It would seem that we no longer need pam_misc_copy_env()
Packit Service b29381
  which was there to provide the robustness that pam_getenvlist()
Packit Service b29381
  lacked before...
Packit Service b29381
Packit Service b29381
  Accordingly, I have REMOVED the prototype from libpam_misc. (The
Packit Service b29381
  function, however, will remain in the library as a wrapper for
Packit Service b29381
  legacy apps, but will likely be removed from libpam_misc-1.0.) PLEASE
Packit Service b29381
  FIX YOUR APPS *BEFORE* WE GET THERE!
Packit Service b29381
Packit Service b29381
* Alexy Nogin reported garbage output from pam_env in the case of
Packit Service b29381
  a non-existent environment variable.
Packit Service b29381
Packit Service b29381
* 'fixed' pwdb compilation for pam_wheel.  Not very cleanly
Packit Service b29381
  done.. Mmmm. Should really clean up the entire source tree...
Packit Service b29381
Packit Service b29381
* added prototypes for mapping functions
Packit Service b29381
Packit Service b29381
			<**WARNING**>
Packit Service b29381
Packit Service b29381
  various constants have had there names changed.  Numerical values have
Packit Service b29381
  been retained but be aware some source old modules/applications will
Packit Service b29381
  need to be fixed before recompilation.
Packit Service b29381
Packit Service b29381
			</**WARNING**>
Packit Service b29381
Packit Service b29381
* appended documentation to README for pam_rhosts module (Nicolai
Packit Service b29381
  Langfeldt).
Packit Service b29381
Packit Service b29381
* verified X/Open compatibility of header files - note, where we differ
Packit Service b29381
  it is at the level of compilation warnings and the use of 'const char *'
Packit Service b29381
  instead of 'char *'.  Previously, Sun(X/open) have revised their spec
Packit Service b29381
  to be more 'const'-ervative in the light of comments from Linux-PAM
Packit Service b29381
  development.
Packit Service b29381
Packit Service b29381
* Ooops! PAM_AUTHTOKEN_REQD should have been PAM_NEW_AUTHTOK_REQD.
Packit Service b29381
Packit Service b29381
	changed: pam_pwdb(pam_unix_acct) (also bug fix for
Packit Service b29381
	_shadow_acct_mgmt_exp() return value), pam_stress,
Packit Service b29381
	libpam/pam_dispatch, blank, xsh.
Packit Service b29381
Packit Service b29381
* New: PAM_AUTHTOK_EXPIRED - password has expired.
Packit Service b29381
Packit Service b29381
* Ooops! PAM_CRED_ESTABLISH (etc.) should have been PAM_ESTABLISH_CRED
Packit Service b29381
  etc... (changed - this may break some people's modules - PLEASE TAKE
Packit Service b29381
  NOTE!)
Packit Service b29381
	changed: pam_group, pam_mail, blank, xsh; module and appl
Packit Service b29381
	docs, pam_setcred manual page.
Packit Service b29381
Packit Service b29381
* renamed internal _pam_handle structure to be pam_handle as per XSSO.
Packit Service b29381
Packit Service b29381
* added PAM_RADIO_TYPE  (for multiple choice input method).  Also
Packit Service b29381
  added PAM_BINARY_{MSG,PROMPT} (for interaction out of sight of user
Packit Service b29381
  - this could be used for RSA type authentication but is currently
Packit Service b29381
  just there for experimental purposes).  The _BINARY_ types are now
Packit Service b29381
  usable with hooks in the libpam_misc conversation function. Still
Packit Service b29381
  have to add PAM_RADIO_TYPE.
Packit Service b29381
Packit Service b29381
* added pam_access module (Alexei Nogin)
Packit Service b29381
Packit Service b29381
* added documentation for pam_lastlog.  Also modified the module to
Packit Service b29381
  not (by default) print "welcome to your new account" when it cannot
Packit Service b29381
  find a utmp entry for the user (you can turn this on with the
Packit Service b29381
  "never" argument).
Packit Service b29381
Packit Service b29381
* small correction to the pam_fail_delay manual page.  Either the appl or
Packit Service b29381
  the modules header file will prototype this function.
Packit Service b29381
Packit Service b29381
* added "bigcrypt" (DEC's C2) algorithm(0) to pam_pwdb. (Andy Phillips)
Packit Service b29381
Packit Service b29381
* *BSD tweaking for various #include's etc. (pam_lastlog, pam_rhosts,
Packit Service b29381
  pam_wheel, libpam/pam_handlers). (Michael Smith)
Packit Service b29381
Packit Service b29381
* added configuration directory $SCONFIGED for module specific
Packit Service b29381
  configuration files.
Packit Service b29381
Packit Service b29381
* added two new "linked" man pages (pam.conf(8) and pam.d(8))
Packit Service b29381
Packit Service b29381
* included a reasonable default for /etc/pam.conf (which can be
Packit Service b29381
  translated to /etc/pam.d/* files with the pam_conv1 binary)
Packit Service b29381
Packit Service b29381
* fixed the names of the new configuration files in
Packit Service b29381
   conf/pam_conv1/pam_conv.y
Packit Service b29381
Packit Service b29381
* fixed make check.
Packit Service b29381
Packit Service b29381
* pam_lastlog fixed to handle UID in virgin part of /var/log/lastlog
Packit Service b29381
  (bug report from Ronald Wahl).
Packit Service b29381
Packit Service b29381
* grammar fix in pam_cracklib
Packit Service b29381
Packit Service b29381
* segfault avoided in pam_pwdb (getting user). Updating of passwords
Packit Service b29381
  that are directed to a "new" database are more robust now (bug noted
Packit Service b29381
  by Michael K. Johnson).  Added "unix" module argument for migrating
Packit Service b29381
  passwords from another database to /etc/passwd. (documentation
Packit Service b29381
  updated).  Removed "bad username []" warning for empty passwords -
Packit Service b29381
  on again if you supply the 'debug' module argument.
Packit Service b29381
Packit Service b29381
* ctrl-D respected in conversation function (libpam_misc)
Packit Service b29381
Packit Service b29381
* Removed -DPAM_FAIL_DELAY_ON from top-level Makefile. Nothing in
Packit Service b29381
  the distribution uses it.  I guess this change happened a while
Packit Service b29381
  back, basically I'm trying to make the module parts of the
Packit Service b29381
  distribution "source compatible" with the RFC definition of PAM.
Packit Service b29381
  This implementation of PAM is a superset of that definition. I have
Packit Service b29381
  added the following symbols to the Linux-PAM header files:
Packit Service b29381
Packit Service b29381
	PAM_DATA_SILENT (see _pam_types.h)
Packit Service b29381
	HAVE_PAM_FAIL_DELAY (see _pam_types.h)
Packit Service b29381
	PAM_DATA_REPLACE (see _pam_modules.h)
Packit Service b29381
Packit Service b29381
  Any module (or application) that wants to utilize these features,
Packit Service b29381
  should check (#ifdef) for these tokens before using the associated
Packit Service b29381
  functionality.  (Credit to Michael K. Johnson for pointing out my
Packit Service b29381
  earlier omission: not documenting this change :*)
Packit Service b29381
Packit Service b29381
* first stab at making modules more independent of full library
Packit Service b29381
  source.  Modules converted:
Packit Service b29381
	pam_deny
Packit Service b29381
	pam_permit
Packit Service b29381
	pam_lastlog
Packit Service b29381
	pam_pwdb
Packit Service b29381
Packit Service b29381
* pam_env.c: #include <errno.h> added to ease GNU libc use. (Michael
Packit Service b29381
  K. Johnson)
Packit Service b29381
Packit Service b29381
* pam_unix_passwd fixes to shadow aging code (Eliot Frank)
Packit Service b29381
Packit Service b29381
* added README for pam_tally
Packit Service b29381
Packit Service b29381
0.57: Fri Apr  4 23:00:45 PST 1997  Andrew Morgan <morgan@parc.power.net>
Packit Service b29381
Packit Service b29381
* added "nodelay" argument to pam_pwdb.  This can be used to turn off
Packit Service b29381
  the call to pam_fail_delay that takes effect when the user fails to
Packit Service b29381
  authenticate themself.
Packit Service b29381
Packit Service b29381
* added "suppress" argument to pam_rhosts_auth module. This will stop
Packit Service b29381
  printing the "rlogin failure message" when the user does not have a
Packit Service b29381
  .rhosts file.
Packit Service b29381
Packit Service b29381
* Extra fixes for FAKEROOT in Makefiles (Savochkin Andrey
Packit Service b29381
  Vladimirovich)
Packit Service b29381
Packit Service b29381
* pam_tally added to tree courtesy of Tim Baverstock
Packit Service b29381
Packit Service b29381
* pam_rhosts_auth was failing to read NFS mounted .rhosts
Packit Service b29381
  files. (Fixed by Peter Allgeyer). Refixed and further enhanced
Packit Service b29381
  (netgroups) by Nicolai Langfeldt. [Credit also to G.Wilford for some
Packit Service b29381
  changes that were not actually included..]
Packit Service b29381
Packit Service b29381
* optional (#ifdef PAM_READ_BOTH_CONFS) support for parsing of pam.d/
Packit Service b29381
  AND pam.conf files (Elliot Lee).
Packit Service b29381
Packit Service b29381
* Added (and signed) Cristian's PGP key. (I've never met him, but I am
Packit Service b29381
  convinced the key belongs to the guy that is making the PAM rpms and
Packit Service b29381
  also producing libpwdb. Please note, I will not be signing anyone
Packit Service b29381
  else's key without a personal introduction..)
Packit Service b29381
Packit Service b29381
* fixed erroneous syslog warning in pam_listfile (Savochkin Andrey
Packit Service b29381
  Vladimirovich, whole file reformatted by Cristian)
Packit Service b29381
Packit Service b29381
* modified pam_securetty to return PAM_IGNORE in the case that the user's
Packit Service b29381
  name is not known to the system (was previously, PAM_USER_UNKNOWN). The
Packit Service b29381
  Rationale is that pam_securetty's sole purpose is to prevent superuser
Packit Service b29381
  login anywhere other than at the console. It is not its concern that the
Packit Service b29381
  user is unknown - only that they are _not_ root. Returning
Packit Service b29381
  PAM_IGNORE, however, insures that the pam_securetty can never be used to
Packit Service b29381
  "authenticate" a non-existent user. (Cristian Gafton with bug report from
Packit Service b29381
  Roger Hu)
Packit Service b29381
Packit Service b29381
* Modified pam_nologin to display the no-login message when the user
Packit Service b29381
  is not known. The return value in this case is still PAM_USER_UNKNOWN.
Packit Service b29381
  (Bug report from Cristian Gafton)
Packit Service b29381
Packit Service b29381
* Added NEED_LCKPWD for pam_unix/ This is used to define the locking
Packit Service b29381
  functions and should only be turned on if you don't have them in
Packit Service b29381
  your libc.
Packit Service b29381
Packit Service b29381
* tidied up pam_lastlog and pam_pwdb: removed function that was never used.
Packit Service b29381
Packit Service b29381
* Note for package maintainers: I have added $(FAKEROOT) to the list of
Packit Service b29381
  environment variables.  This should help greatly when you build PAM
Packit Service b29381
  in a subdirectory.  I've gone through the tree and tried to make
Packit Service b29381
  everything compatible with it.
Packit Service b29381
Packit Service b29381
* added pam_env (courtesy of Dave Kinchlea)
Packit Service b29381
Packit Service b29381
* removed pam_passwd+ from the tree.  It has not been maintained in a
Packit Service b29381
  long time and running a shell script was basically insecure. I've
Packit Service b29381
  indicated where you can pick up the source if you want it.
Packit Service b29381
Packit Service b29381
* #define HAVE_PAM_FAIL_DELAY . Applications can conditionally compile
Packit Service b29381
  with this if they want to see if the facility is available. It is
Packit Service b29381
  now always available. (corresponding compilation cleanups..)
Packit Service b29381
Packit Service b29381
* _pam_sanitize() added to pam_misc. It purges the PAM_AUTHTOK and
Packit Service b29381
  PAM_OLDAUTHTOK items. (calls replaced in pam_auth and pam_password)
Packit Service b29381
Packit Service b29381
* pam_rhosts now knows about the '+' entry. Since I think this is a
Packit Service b29381
  dangerous thing, I have required that the sysadmin supply the
Packit Service b29381
  "promiscuous" flag for it in the corresponding configuration file
Packit Service b29381
  before it will work.
Packit Service b29381
Packit Service b29381
* FULL_LINUX_PAM_SOURCE_TREE exported from the top level make file.
Packit Service b29381
  If you want to build a module, you can test for this to determine if
Packit Service b29381
  it should take its directions from above or supply default locations
Packit Service b29381
  for installation. Etc.
Packit Service b29381
Packit Service b29381
0.56: Sat Feb 15 12:21:01 PST 1997 <morgan@parc.power.net>
Packit Service b29381
Packit Service b29381
* pam_handlers.c can now interpret the pam.d/ service config tree:
Packit Service b29381
	- if /etc/pam.d/ exists /etc/pam.conf is IGNORED
Packit Service b29381
	  (otherwise /etc/pam.conf is treated as before)
Packit Service b29381
	- given /etc/pam.d/
Packit Service b29381
	  . config files are named (in lower case) by service-name
Packit Service b29381
	  . config files have same syntax as /etc/pam.conf except
Packit Service b29381
	    that the "service-name" field is not present. (there
Packit Service b29381
	    are thus three manditory fields (and arguments are
Packit Service b29381
	    optional):
Packit Service b29381
Packit Service b29381
		module-type  control-flag  module-path  optional-args...
Packit Service b29381
Packit Service b29381
	    )
Packit Service b29381
Packit Service b29381
* included conf/pam_conv1 for converting pam.conf to a pam.d/ version
Packit Service b29381
  1.0 directory tree. This program reads a pam.conf file on the
Packit Service b29381
  standard input stream and creates ./pam.d/ (in the local directory)
Packit Service b29381
  and fills it with ./pam.d/"service-name" files.
Packit Service b29381
Packit Service b29381
	*> Note: It will fail if ./pam.d/ already exists.
Packit Service b29381
Packit Service b29381
  PLEASE REPORT ANY BUGS WITH THIS CONVERSION PROGRAM... It currently
Packit Service b29381
  cannot retain comments from the old conf file, so take care to do this
Packit Service b29381
  by hand. Also, please email me with the fix that makes the
Packit Service b29381
  shift/reduce conflict go away...
Packit Service b29381
Packit Service b29381
* Added default module path to libpam for modules (see pam_handlers.c)
Packit Service b29381
  it makes use of Makfile defined symbol: DEFAULT_MODULE_PATH which is
Packit Service b29381
  inhereted from the defs/* variable $(SECUREDIR). Removed module
Packit Service b29381
  paths from the sample pam.conf file as they are no longer needed.
Packit Service b29381
Packit Service b29381
* pam_pwdb can now verify read protected passwords when it is not run
Packit Service b29381
  by root.  This is via a helper binary that is setuid root.
Packit Service b29381
Packit Service b29381
* pam_permit now prompts for a username if it is not already determined
Packit Service b29381
Packit Service b29381
* pam_rhosts now honors "debug" and no longer hardwire's "root" as the
Packit Service b29381
  superuser's name.
Packit Service b29381
Packit Service b29381
* pam_securetty now honors the "debug" flag
Packit Service b29381
Packit Service b29381
* trouble parsing extra spaces fixed in pam_time and pam_group
Packit Service b29381
Packit Service b29381
* added Michael K. Johnson's PGP key to the pgp.keys.asc list
Packit Service b29381
Packit Service b29381
* pam_end->env not being free()'d: fixed
Packit Service b29381
Packit Service b29381
* manuals relocated to section 3
Packit Service b29381
Packit Service b29381
* fixed bug in pam_mail.c, and enhanced to recognize '~' as a prefix
Packit Service b29381
  to indicate the $HOME of the user (courtesy David
Packit Service b29381
  Kinchlea). *Changed* from a "session" module to an "auth"
Packit Service b29381
  module. It cannot be used to authenticate a user, but it can be used
Packit Service b29381
  in setting credentials.
Packit Service b29381
Packit Service b29381
* fixed a stupid bug in pam_warn.. Only PAM_SERVICE was being read :*(
Packit Service b29381
Packit Service b29381
* pam_radius rewritten to exclusively make use of libpwdb. (minor fix
Packit Service b29381
  to Makefile for cleaning up - AGM)
Packit Service b29381
Packit Service b29381
* pam_limits extended to limit the total number of logins on a system
Packit Service b29381
  at any given time.
Packit Service b29381
Packit Service b29381
* libpam and libpam_misc use $(MAJOR_REL) and $(MINOR_REL) to set their
Packit Service b29381
  version numbers [defined in top level makefile]
Packit Service b29381
Packit Service b29381
* bugfix in sed command in defs/redhat.defs (AGM's fault)
Packit Service b29381
Packit Service b29381
* The following was related to a possibility of buffer overruns in
Packit Service b29381
  the syslogging code: removed fixed length array from syslogging
Packit Service b29381
  function in the following modules [capitalized the log identifier
Packit Service b29381
  so the sysadmin can "know" these are fixed on the local system],
Packit Service b29381
Packit Service b29381
	pam_ftp, pam_stress, pam_rootok, pam_securetty,
Packit Service b29381
	pam_listfile, pam_shells, pam_warn, pam_lastlog
Packit Service b29381
  and
Packit Service b29381
	pam_unix_passwd (where it was definitely _not_ exploitable)
Packit Service b29381
Packit Service b29381
0.55: Sat Jan  4 14:43:02 PST 1997, Andrew Morgan <morgan@parc.power.net>
Packit Service b29381
Packit Service b29381
* added "requisite" control_flag to /etc/pam.conf syntax. [See
Packit Service b29381
  Sys. Admin. Guide for explanation] changes to pam_handlers.c
Packit Service b29381
Packit Service b29381
* completely new handling of garbled pam.conf lines. The modus
Packit Service b29381
  operandi now is to assume that any errors in the line are minor.
Packit Service b29381
  Errors of this sort should *most definitely* lead to the module
Packit Service b29381
  failing, however, just ignoring the line (as was the case
Packit Service b29381
  previously) can lead to gaping security holes(! Not foreseen by the
Packit Service b29381
  RFC). The "motivation" for the RFC's comments about ignoring garbled
Packit Service b29381
  lines is present in spirit in the new code: basically a garbled line
Packit Service b29381
  is treated like an instance of the pam_deny.so module.
Packit Service b29381
  changes to pam_handlers.c and pam_dispatch.c .
Packit Service b29381
Packit Service b29381
* patched libpam, to (a) call _pam_init_handlers from pam_start() and
Packit Service b29381
  (b) to log a text error if there are no modules defined for a given
Packit Service b29381
  service when a call to a module is requested. [pam_start() and
Packit Service b29381
  pam_dispatch() were changed].
Packit Service b29381
Packit Service b29381
* patched pam_securetty to deal with "/dev/" prefix on PAM_TTY item.
Packit Service b29381
Packit Service b29381
* reorganized the modules/Makefile to include *ALL* modules. It is now
Packit Service b29381
  the responsibility of the modules themselves to test whether they can
Packit Service b29381
  be compiled locally or not.
Packit Service b29381
Packit Service b29381
* modified pam_group to add to the getgroups() list rather than overwrite
Packit Service b29381
  it. [In the case of "HAVE_LIBPWDB" we use the pwdb_..() calls to
Packit Service b29381
  translate the group names.]. Module now pays attention to
Packit Service b29381
  PAM_CRED_.. flag(!)
Packit Service b29381
Packit Service b29381
* identified and removed bugs in field reading code of pam_time and
Packit Service b29381
  (thus) pam_group.
Packit Service b29381
Packit Service b29381
* Cristian's patches to pam_listfile module, corresponding change to
Packit Service b29381
  documentation.
Packit Service b29381
Packit Service b29381
* I've discovered &ero; for sgml!
Packit Service b29381
  Added pam_time documentation to the admin guide.
Packit Service b29381
Packit Service b29381
* added manual pages: pam.8, pam_start.2(=pam_end.2),
Packit Service b29381
  pam_authenticate.2, pam_setcred.2, pam_strerror.2,
Packit Service b29381
  pam_open_session.2(=pam_close_session.2) and pam_chauthtok.2 .
Packit Service b29381
Packit Service b29381
* added new modules:
Packit Service b29381
Packit Service b29381
	- pam_mail (tells the user if they have any new mail
Packit Service b29381
	  and sets their MAIL env variable)
Packit Service b29381
	- pam_lastlog (reports on the last time this user called
Packit Service b29381
	  this module)
Packit Service b29381
Packit Service b29381
* new module hooks provided.
Packit Service b29381
Packit Service b29381
* added a timeout feature to the conversation function in
Packit Service b29381
  libpam_misc. Documented it in the application developers' guide.
Packit Service b29381
Packit Service b29381
* fixed bug in pam_misc_paste_env() function..
Packit Service b29381
Packit Service b29381
* slight modifications to wheel and rhosts writeup.
Packit Service b29381
Packit Service b29381
* more security issues added to module and application guides.
Packit Service b29381
Packit Service b29381
--
Packit Service b29381
Things present but not mentioned in previous release (sorry)
Packit Service b29381
Packit Service b29381
* pam_pwdb module now resets the "last_change" entry before updating a
Packit Service b29381
  password.
Packit Service b29381
--
Packit Service b29381
Packit Service b29381
Sat Nov 30 19:30:20 PST 1996, Andrew Morgan <morgan@parc.power.net>
Packit Service b29381
Packit Service b29381
* added environment handling to libpam. involved change to _pam_types.h
Packit Service b29381
  also added supplementary functions to libpam_misc
Packit Service b29381
Packit Service b29381
* added pam_radius - Cristian
Packit Service b29381
Packit Service b29381
* slight speed up for pam_rhosts
Packit Service b29381
Packit Service b29381
* significantly enhanced sys-admin documentation (8 p -> 41 p in
Packit Service b29381
  PostScript). Added to other documentation too.  Mostly the changes
Packit Service b29381
  in the other docs concern the new PAM-environment support, there is
Packit Service b29381
  also some coverage of libpam_misc in the App. Developers' guide.
Packit Service b29381
Packit Service b29381
* Cristian's patches to pam_limits and pam_pwdb. Fixing bugs. (MORE added)
Packit Service b29381
Packit Service b29381
* adopted Cristian's _pam_macros.h file to help with common macros and
Packit Service b29381
  debugging stuff, gone through tree tidying up debugging lines to use
Packit Service b29381
  this [not complete].
Packit Service b29381
Packit Service b29381
	- for consistency replaced DROP() with _pam_drop()
Packit Service b29381
Packit Service b29381
* commented memory debugging in top level makefile
Packit Service b29381
Packit Service b29381
* added the following modules
Packit Service b29381
Packit Service b29381
    - pam_warn	log information to syslog(3) about service application
Packit Service b29381
    - pam_ftp	if user is 'ftp' then set PAM_RUSER/PAM_RHOST with password
Packit Service b29381
    (comment about nologin added to last release's notes)
Packit Service b29381
Packit Service b29381
* modified the pam_listfile module. It now declares a meaningful static
Packit Service b29381
  structure name.
Packit Service b29381
Packit Service b29381
Sun Nov 10 13:26:39 PST 1996, Andrew Morgan <morgan@parc.power.net>
Packit Service b29381
Packit Service b29381
		**PLEASE *RE*AMEND YOUR PERSONAL LINKS**
Packit Service b29381
Packit Service b29381
  ------->  http://parc.power.net/morgan/Linux-PAM/index.html  <-------
Packit Service b29381
Packit Service b29381
		**PLEASE *RE*AMEND YOUR PERSONAL LINKS**
Packit Service b29381
Packit Service b29381
A brief summary of what has changed:
Packit Service b29381
Packit Service b29381
* many modules have been modified to accomodate fixing the pam_get_user()
Packit Service b29381
  change. Please take note if you have a module in this distribution.
Packit Service b29381
Packit Service b29381
* pam_unix is now the pam_unix that Red Hat has been using and which
Packit Service b29381
  should be fairly well debugged.
Packit Service b29381
Packit Service b29381
   - I've added some #ifdef's to make it compile for me, and also
Packit Service b29381
     updated it with respect to the libpam-0.53, so have a look at the
Packit Service b29381
     .../modules/pam_unix/Makefile to enable cracklib and shadow features
Packit Service b29381
Packit Service b29381
	** BECAUSE OF THIS, I cannot guarantee this code works as it **
Packit Service b29381
	** did for Red Hat. Please test and report any problems.     **
Packit Service b29381
Packit Service b29381
* the pam_unix of .52 (renamed to pam_pwdb) has been enhanced and made
Packit Service b29381
  more flexible with by implementing it with respect to the new
Packit Service b29381
  "Password Database Library" see
Packit Service b29381
Packit Service b29381
	http://parc.power.net/morgan/libpwdb/index.html
Packit Service b29381
Packit Service b29381
  modules included in this release that require this library to
Packit Service b29381
  function are the following:
Packit Service b29381
Packit Service b29381
	- pam_pwdb (ne pam_unix-0.52 + some enhancements)
Packit Service b29381
	- pam_wheel
Packit Service b29381
	- pam_limits
Packit Service b29381
	- pam_nologin
Packit Service b29381
Packit Service b29381
* Added some optional code for memory debugging. In order to support
Packit Service b29381
  this you have to enable MEMORY_DEBUG in the top level makefile and
Packit Service b29381
  also #define MEMORY_DEBUG in your applications when they are compiled.
Packit Service b29381
  The extra code resides in libpam (compiled if MEMORY_DEBUG is defined)
Packit Service b29381
  and the macros for malloc etc. are to be found at the end of
Packit Service b29381
  _pam_types.h
Packit Service b29381
Packit Service b29381
* used above code to locate two memory leaks in pam_unix module and two
Packit Service b29381
  in libpam (pam_handlers.h)
Packit Service b29381
Packit Service b29381
* pam_get_user() now sets the PAM_USER item. After reading the Sun
Packit Service b29381
  manual page again, it was clear that it should do this. Various
Packit Service b29381
  modules have been assuming this and now I have modified most of them
Packit Service b29381
  to account for this change. Additionally, pam_get_user() is now
Packit Service b29381
  located in the module include file; modules are supposed to be the
Packit Service b29381
  ones that use it(!) [Note, this is explicitly contrary to the Sun
Packit Service b29381
  manual page, but in the spirit of the Linux distribution to date.]
Packit Service b29381
Packit Service b29381
* replaced -D"LINUX" with -D"LINUX_PAM" as this is more explicit and less
Packit Service b29381
  likely to be confused with -D"linux".
Packit Service b29381
  Also, modified the libpam #include files to behave more like the Sun
Packit Service b29381
  ones #ifndef LINUX_PAM.
Packit Service b29381
Packit Service b29381
* removed 
Packit Service b29381
  politically correct html..
Packit Service b29381
Packit Service b29381
----- My vvvvvvvvvvvvvvvvvvv was a long time ago ;*] -----
Packit Service b29381
Packit Service b29381
Wed Sep  4 23:57:19 PDT 1996 (Andrew Morgan <morgan@physics.ucla.edu>
Packit Service b29381
Packit Service b29381
0. Before I begin, Linux-PAM has a new primary distribution site (kindly
Packit Service b29381
donated by Power Net Inc., Los Angeles)
Packit Service b29381
Packit Service b29381
		**PLEASE AMMEND YOUR PERSONAL LINKS**
Packit Service b29381
Packit Service b29381
      ------->  http://www.power.net/morgan/Linux-PAM  <-------
Packit Service b29381
Packit Service b29381
		**PLEASE AMMEND YOUR PERSONAL LINKS**
Packit Service b29381
Packit Service b29381
1. I'm hoping to make the next release a bug-fix release... So please find
Packit Service b29381
   all the bugs(! ;^)
Packit Service b29381
Packit Service b29381
2. here are the changes for .52:
Packit Service b29381
Packit Service b29381
* minor changes to module documentation [Incidently, it is now
Packit Service b29381
  available on-line from the WWW page above]. More changes to follow in
Packit Service b29381
  the next two releases. PLEASE EMAIL me or the list if there is
Packit Service b29381
  anything that isn't clear!
Packit Service b29381
Packit Service b29381
* completely changed the unix module. Now a single module for all four
Packit Service b29381
  management groups (this meant that I could define all functions as
Packit Service b29381
  static that were not part of the pam_sm_... scheme. AGM)
Packit Service b29381
Packit Service b29381
  - Shadow support added
Packit Service b29381
PASSWD  - Elliot's account management included, and enhanced by Cristian Gafton.
Packit Service b29381
  - MD5 password support added by Cristian Gafton.
Packit Service b29381
  - maxtries for authentication now enforced.
Packit Service b29381
  - Password changing function in pam_unix now works!
Packit Service b29381
    Although obviously, I'm not going to *guarantee* it ;^) .
Packit Service b29381
  - stole Marek's locking code from the Red Hat unix module.
Packit Service b29381
    [ If you like you can #ifdef it in or out ... ]
Packit Service b29381
Packit Service b29381
    You can configure the module more from its Makefile in
Packit Service b29381
    0.52/modules/pam_unix/
Packit Service b29381
Packit Service b29381
    If you are nervous that it will destroy your /etc/passwd or shadow
Packit Service b29381
    files then EDIT the 0.52/modules/pam_unix/pam_unix_pass.-c file.
Packit Service b29381
    Here is the warning comment from this file...
Packit Service b29381
Packit Service b29381
-------------8<-----------------
Packit Service b29381
/*                           <WARNING>
Packit Service b29381
 *
Packit Service b29381
 * Uncomment the following #define if you are paranoid, and do not
Packit Service b29381
 * want to risk losing your /etc/passwd or shadow files.
Packit Service b29381
 * It works for me (AGM) but there are no guarantees.
Packit Service b29381
 *
Packit Service b29381
 *                          </WARNING>
Packit Service b29381
 */
Packit Service b29381
/* #define TMP__FILE */
Packit Service b29381
------------->8-----------------
Packit Service b29381
Packit Service b29381
  *** If anyone has any trouble, please *say*. Your problem will be
Packit Service b29381
      fixed in the next release. Also please feel free to scour the
Packit Service b29381
      code for race conditions etc...
Packit Service b29381
Packit Service b29381
[* The above change requires that you purge your /usr/lib/security
Packit Service b29381
   directory of the old pam_unix_XXX.so modules: they will NOT be deleted
Packit Service b29381
   with a 'make remove'.]
Packit Service b29381
Packit Service b29381
* the prototype for the cleanup function supplied to pam_set_data used
Packit Service b29381
  to return "int". According to Sun it should be "void". CHANGED.
Packit Service b29381
Packit Service b29381
* added some definitions for the 'error_status' mask values that are
Packit Service b29381
  passed to the cleanup function associated with each
Packit Service b29381
  module-data-item. These numbers were needed to keep up with changing
Packit Service b29381
  a data item (see for example the code in pam_unix/support.-c that
Packit Service b29381
  manages the maximum number of retries so far). Will see what Sun says
Packit Service b29381
  (current indications are positive); this may be undone before 1.0 is
Packit Service b29381
  released.  Here are the definitions (from pam_modules.h).
Packit Service b29381
Packit Service b29381
#define PAM_DATA_SILENT    0x40000000     /* used to suppress messages... */
Packit Service b29381
#define PAM_DATA_REPLACE   0x20000000     /* used when replacing a data item */
Packit Service b29381
Packit Service b29381
* Changed the .../conf/pam.conf file. It now points to the new
Packit Service b29381
  pam_unix module for 'su' and 'passwd' [can get these as SimpleApps --
Packit Service b29381
  I use them for testing. A more extensive selection of applications is
Packit Service b29381
  available from Red Hat...]
Packit Service b29381
Packit Service b29381
* corrected a bug in pam_dispatch. Basically, the problem was that if
Packit Service b29381
  all the modules were "sufficient" then the return value for this
Packit Service b29381
  function was never set. The net effect was that _pam_dispatch_aux
Packit Service b29381
  returned success when all the sufficient modules failed. :^( I think
Packit Service b29381
  this is the correct fix to a problem that the Red Hat folks had
Packit Service b29381
  found...
Packit Service b29381
Packit Service b29381
sopwith* Removed advisory locking from libpam (thanks for the POSIX patch
Packit Service b29381
  goes to Josh Wilmes's, my apologies for not using it in the
Packit Service b29381
  end.). Advisory locking did not seem sufficiently secure for libpam.
Packit Service b29381
  Thanks to Werner Almesberger for identifying the corresponding "denial
Packit Service b29381
  of service attack". :*(
Packit Service b29381
Packit Service b29381
* related to fix, have introduced a lock file /var/lock/subsys/PAM
Packit Service b29381
  that can be used to indicate the system should pay attention to
Packit Service b29381
  advisory locking on /etc/pam.conf file. To implement this you need to
Packit Service b29381
  define PAM_LOCKING though. (see .52/libpam)
Packit Service b29381
Packit Service b29381
* modified pam_fail_delay() function. Couldn't find the "not working"
Packit Service b29381
  problem indicated by Michael, but modified it to do pseudo-random
Packit Service b29381
  delays based on the values indicated by pam_fail_delay() -- the
Packit Service b29381
  function "that may eventually go away"... Although Sun is warming to
Packit Service b29381
  the idea.
Packit Service b29381
Packit Service b29381
* new modules include:
Packit Service b29381
Packit Service b29381
	pam_shells    - authentication for users with a shell listed in
Packit Service b29381
			/etc/shells. Erik Troan <ewt@redhat.com>
Packit Service b29381
Packit Service b29381
	pam_listfile  - authentication based on the contents of files.
Packit Service b29381
			Set to be more general than the above in the
Packit Service b29381
			future. UNTESTED. Elliot Lee <@redhat.com>
Packit Service b29381
			[Note, this module compiles with a non-trivial
Packit Service b29381
			warning: AGM]
Packit Service b29381
Packit Service b29381
Thu Aug  8 22:32:15 PDT 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
Packit Service b29381
Packit Service b29381
* modified makefiles to take more of their installation instructions
Packit Service b29381
  from the top level makefile. Desired for integration into the Debian
Packit Service b29381
  distribution, and generally a good idea.
Packit Service b29381
Packit Service b29381
* fixed memory arithmetic in pam_handlers
Packit Service b29381
  -- still need to track down why failure to load modules can lead to
Packit Service b29381
  authentication succeding..
Packit Service b29381
Packit Service b29381
* added tags for new modules (smartcards from Alex -- just a promise
Packit Service b29381
  at this stage) and a new module from Elliot Lee; pam_securetty
Packit Service b29381
Packit Service b29381
* I have not had time to smooth out the wrinkles with it, but Alex's
Packit Service b29381
  pam_unix modifications are provided in pam_unix-alex (in the modules
Packit Service b29381
  directory) they will not be compiled by 'make all' and I can't even
Packit Service b29381
  say if they do compile... I will try to look at them for .52 but, in
Packit Service b29381
  the mean time please feel free to study/fix/discuss what is there.
Packit Service b29381
Packit Service b29381
* pam_rhosts module. Removed code for manually setting the ruser
Packit Service b29381
  etc. This was not very secure.
Packit Service b29381
Packit Service b29381
* [remade .ps docs to be in letter format -- my printer complains
Packit Service b29381
  about a4]
Packit Service b29381
Packit Service b29381
Sunday July, 7 12:45:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
Packit Service b29381
Packit Service b29381
* No longer accompanying the Linux-PAM release with apps installed.
Packit Service b29381
  [Will provide what was here in a separate package.. (soon)
Packit Service b29381
lib   Also see http://www.redhat.com/pam for some more (in .rpm form...)]
Packit Service b29381
Packit Service b29381
* renamed libmisc to libpam_misc. It is currently configured to only compile
Packit Service b29381
  the static library. For some strange reason (perhaps someone can
Packit Service b29381
  investigate) my Linux 2.0.0 kernel with RedHat 3.0.3 system
Packit Service b29381
  segfaults when I compile it to be a dynamic library. The segfault
Packit Service b29381
  seems to be inside the call to the ** dl_XXX ** function...!?
Packit Service b29381
Packit Service b29381
  There is a simple flag in the libpam_misc/Makefile to turn on dynamic
Packit Service b29381
  compiles.
Packit Service b29381
Packit Service b29381
* Added a little unofficial code for delay support in libpam (will probably
Packit Service b29381
  disappear later..) There is some documentation for it in the pam_modules
Packit Service b29381
  doc now. That will obviously go too.
Packit Service b29381
Packit Service b29381
* rewritten pam_time to use *logic* to specify the stringing together of
Packit Service b29381
  users/times/terminals etc.. (what was there before was superficially
Packit Service b29381
  logical but basically un-predictable!)
Packit Service b29381
Packit Service b29381
* added pam_group. Its syntax is almost identical to pam_time but it
Packit Service b29381
  has another field added; a list of groups to make the user a member
Packit Service b29381
  of if they pass the previous tests. It seems to not co-exist too well
Packit Service b29381
  with the groups in the /etc/group but I hope to have that fixed by
Packit Service b29381
  the next release...
Packit Service b29381
Packit Service b29381
* minor re-formatting of pam_modules documentation
Packit Service b29381
Packit Service b29381
* removed ...// since it wasn't being used and didn't look like it
Packit Service b29381
  would be!
Packit Service b29381
Packit Service b29381
GCCSunday 23 22:35:00 PST 1996   (Andrew Morgan <morgan@physics.ucla.edu>)
Packit Service b29381
Packit Service b29381
* The major change is the addition of a new module: pam_time for
Packit Service b29381
  restricting access on terminals at given times for indicated users
Packit Service b29381
  it comes with its own configuration file /etc/security/time.conf
Packit Service b29381
  and the sample file simply restricts 'you' from satisfying the blank
Packit Service b29381
  application if they try to use blank from any tty*
Packit Service b29381
Packit Service b29381
* Small changes include
Packit Service b29381
- altered pam.conf to demonstrate above new module (try typing username: you)
Packit Service b29381
- very minor changes to the docs (pam_appl and pam_modules)
Packit Service b29381
Packit Service b29381
Saturday June 2 01:40:00 PST 1996  (Andrew Morgan <morgan@physics.ucla.edu>)
Packit Service b29381
Packit Service b29381
*** PLEASE READ THE README, it has changed ***
Packit Service b29381
Packit Service b29381
* NOTE, 'su' exhibits a "system error", when static linking is
Packit Service b29381
  used. This is because the pam_unix_... module currently only has
Packit Service b29381
  partial static linking support. This is likely to change on Monday
Packit Service b29381
  June 3, when Alex makes his latest version availible. I will include
Packit Service b29381
  the updated module in next release.
Packit Service b29381
Packit Service b29381
changes for .42:
Packit Service b29381
Packit Service b29381
* modified the way in which libpam/pam_modules.h defines prototypes for
Packit Service b29381
  the pam_sm_ functions. Now the module must declare which functions it
Packit Service b29381
  is to provide *before* the #include <security/pam_modules.h> line.
Packit Service b29381
  (for contrasting examples, see the pam_deny and pam_rootok modules)
Packit Service b29381
  This removed the ugly hack of defining functions that are never called
Packit Service b29381
  to overcome  warnings... This seems much tidier.
Packit Service b29381
insterted* updated the TODO list. (changed mailing list address)
Packit Service b29381
* updated README in .../modules to reflect modifications to static
Packit Service b29381
  compliation protocol
Packit Service b29381
* modified the pam_modules documentation to describe this.
Packit Service b29381
* corrected last argument of pam_get_item( ... ) in
Packit Service b29381
  pam_appl/modules.sgml, to "const void **".
Packit Service b29381
* altered GNU GPL's in the documentation, and various other parts of
Packit Service b29381
  the distribution. *Please check* that any code you are responsible for
Packit Service b29381
  is corrected.
Packit Service b29381
* Added ./Copyright (please check that it is acceptable)
Packit Service b29381
* updated ./README to make current and indicate the new mailing list
Packit Service b29381
  address
Packit Service b29381
* have completely rewritten pam_filter. It now runs modular filter
Packit Service b29381
  executables (stored in /usr/sbin/pam_filter/) This should make it
Packit Service b29381
  trivial for others to write their own filters.. If you want yours
Packit Service b29381
  included in the distribution please email the list/me.
Packit Service b29381
* changes to libpam; there was a silly bug with multiple arguments on a
Packit Service b29381
  pam.conf line that was broken with a '\<LF>'.
Packit Service b29381
* 'su' rearranged code (to make better use of PAM)
Packit Service b29381
  *Also* now uses POSIX signals--this should help the Alpha port.
Packit Service b29381
* 'passwd' now uses getlogin() to determine who's passwords to change.
Packit Service b29381
Packit Service b29381
Sunday May 26 9:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
Packit Service b29381
Packit Service b29381
* fixed module makefiles to create needed dynamic/static subdirectories
Packit Service b29381
Packit Service b29381
Saturday May 25 20:30:27.8 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
Packit Service b29381
Packit Service b29381
* LOTS has changed regarding how the modules/libpam are built.
Packit Service b29381
*  Michael's mostly complete changes for static support--see below
Packit Service b29381
  (Andrew got a little carried away and automated the static linking
Packit Service b29381
  of modules---bugs are likely mine ;( )
Packit Service b29381
* Thanks mostly to Michael, libpam now compiles without a single warning :^]
Packit Service b29381
* made static modules/library optional.
Packit Service b29381
CFLAGS* added 'make sterile' to top level makefile. This does extraclean and remove
Packit Service b29381
* added Michael and Joseph to documentation credits (and a subsection for
Packit Service b29381
  future documentation of static module support in pam_modules.sgml)
Packit Service b29381
* libpam; many changes to makefiles and also automated the inclusion of
Packit Service b29381
  static module objects in pam_static.c
Packit Service b29381
* modified modules for automated static/dynamic support. Added static &
Packit Service b29381
  dynamic subdirectories, as instructed by Michael
Packit Service b29381
* removed an annoying syslog message from pam_filter: "parent exited.."
Packit Service b29381
* updated todo list (anyone know anything about svgalib/X? we probably should
Packit Service b29381
  have some support for these...)
Packit Service b29381
Packit Service b29381
Friday May 24 16:30:15 EDT 1996 (Michael K. Johnson <johnsonm@redhat.com>)
Packit Service b29381
Packit Service b29381
* Added first (incomplete) cut at static support.
Packit Service b29381
  This includes:
Packit Service b29381
   . changes in libpam, including a new file, pam_static.c
Packit Service b29381
   . changes to modules including exporting struct of function pointers
Packit Service b29381
   . static and dynamic linking can be combined
Packit Service b29381
   . right now, the only working combinations are just dynamic
Packit Service b29381
     linking and dynamic libpam.so with static modules linked
Packit Service b29381
     into libpam.so.  That's on the list of things to fix...
Packit Service b29381
   . modules are built differently depending on whether they
Packit Service b29381
     are static or dynamic.  Therefore, there are two directories
Packit Service b29381
     under each module directory, one for static, and one for
Packit Service b29381
     dynamic modules.
Packit Service b29381
* Fixed random brokenness in the Makefiles.  [ foo -nt bar ] is
Packit Service b29381
  rather redundant in a makefile, for instance.  Also, passing
Packit Service b29381
   on the command line is broken because it cannot be
Packit Service b29381
  overridden in any way (even adding important parts) in lower-level
Packit Service b29381
  makefiles.
Packit Service b29381
* Unfortunately, fixing some of the brokenness meant that I used
Packit Service b29381
  GNU-specific stuff.  However, I *think* that there was GNU-specific
Packit Service b29381
  stuff already.  And I think that we should just use the GNU
Packit Service b29381
  extensions, because any platform that GNU make doesn't port to
Packit Service b29381
  easily will be hard to port to anyway.  It also won't be likely
Packit Service b29381
passwd  to handle autoconf, which was Ted's suggestion for getting
Packit Service b29381
  around limitations in standard make...
Packit Service b29381
  For now, I suggest that we just use some simple GNU-specific
Packit Service b29381
  extensions.
Packit Service b29381
Packit Service b29381
Monday May 20 22:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
Packit Service b29381
Packit Service b29381
* added some text to pam_modules.sgml
Packit Service b29381
* corrected Marek's name in all documentation
Packit Service b29381
* made pam_stress conform to chauthtok conventions -- ie can now request
Packit Service b29381
  old password before proceeding.
Packit Service b29381
* included Alex's latest unix module
Packit Service b29381
* included Al's + password strength checking module
Packit Service b29381
* included pam_rootok module
Packit Service b29381
* fixed too many bugs in libpam.. all subtly related to the argument lists
Packit Service b29381
  or use of syslog. Added more debugging lines here too.
Packit Service b29381
* fixed the pam.conf file
Packit Service b29381
* deleted pam_test module. It is pretty old and basically superceeded
Packit Service b29381
  by pam_stress
Packit Service b29381
Packit Service b29381
Friday May 9 1:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
Packit Service b29381
Packit Service b29381
* updated documentaion, added Al Longyear to credits and corrected the
Packit Service b29381
  spelling of Jeff's name(!). Most changes to pam.sgml (even added a figure!)
Packit Service b29381
* new module pam_rhosts_auth (from Al Longyear)
Packit Service b29381
* new apps rlogind and ftpd (a patch) from Al.
Packit Service b29381
* modified 'passwd' to not call pam_authenticate (note, none of the
Packit Service b29381
  modules respect this convention yet!)
Packit Service b29381
* fixed bug in libpam that caused trouble if the last line of a
Packit Service b29381
  pam.conf file ends with a module name and no newline character
Packit Service b29381
* also made more compatable with documentation, in that bad lines in
Packit Service b29381
  pam.conf are now ignored rather than causing libpam to return an
Packit Service b29381
  error to the app.
Packit Service b29381
* libpam now overwrites the AUTHTOKs when returning from
Packit Service b29381
  pam_authenticate and pam_chauthtok calls (as per Sun/RFC too)
Packit Service b29381
* libpam is now installed as libpam.so.XXX in a way that ldconfig can
Packit Service b29381
  handle!
Packit Service b29381
Packit Service b29381
Packit Service b29381
Wednesday May 1 22:00:00 PST 1996 (Andrew Morgan <morgan@physics.ucla.edu>)
Packit Service b29381
Packit Service b29381
* removed .../test directory, use .../examples from now on.
Packit Service b29381
* added .../apps directory for fully functional applications
Packit Service b29381
  - the apps directory contains directories that actually contain the apps.
Packit Service b29381
    the idea is to make application compilation conditional on the presence
Packit Service b29381
    of the directory. Note, there are entries in the Makefile for
Packit Service b29381
    'login' and 'ftpd' that are ready for installation... Email me if
Packit Service b29381
    you want to reserve a directory name for an application you are
Packit Service b29381
    working on...
Packit Service b29381
* similar changes to .../modules makefile [entries for pam_skey and
Packit Service b29381
  pam_kerberos created---awaiting the directories.] Email me if you
Packit Service b29381
  want to register another module...
Packit Service b29381
* minor changes to docs.. Not really worth reprinting them quite yet!
Packit Service b29381
  [save the trees]
Packit Service b29381
* added misc_conv to libmisc. it is a generic conversation function
Packit Service b29381
  for text based applications. [would be nice to see someone create
Packit Service b29381
  an Xlib and/or svgalib version]
Packit Service b29381
* fixed ctrl-z/c bug with pam_filter module [try xsh with the default
Packit Service b29381
  pam.conf file]
Packit Service b29381
* added 'required' argument to 'pam_stress' module.
Packit Service b29381
* added a TODO list... other suggestions to the list please.
Packit Service b29381
Packit Service b29381
Saturday April 7 00:00:00 PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )
Packit Service b29381
Packit Service b29381
* Alex and Marek please note I have altered _pam_auth_unix a little, to
Packit Service b29381
  make it get the passwords with the "proper method" (and also fixed it
Packit Service b29381
  to not have as many compiler warnings)
Packit Service b29381
* updated the conf/pam.conf file
Packit Service b29381
* added new example application examples/xsh.c (like blank but invokes
Packit Service b29381
  /bin/sh)
Packit Service b29381
* Marc's patches for examples/blank.c (and AGM's too)
Packit Service b29381
* fixed stacking of modules in libpam/pam_handlers.c
Packit Service b29381
* fixed RESETing in libpam/pam_item.c
Packit Service b29381
* added new module modules/pam_filter/ to demonstrate the possibility
Packit Service b29381
  of inserting an arbitrary filter between the terminal and the
Packit Service b29381
  application that could do customized logging etc... (see use of
Packit Service b29381
  bin/xsh as defined in conf/pam.conf)
Packit Service b29381
Packit Service b29381
Packit Service b29381
Saturday March 16 19:00:00 PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )
Packit Service b29381
Packit Service b29381
These notes are for 0.3 I don't think I've left anything important
Packit Service b29381
out, but I will use emacs 'C-x v a' next time! (Thanks Jeff)
Packit Service b29381
Packit Service b29381
	* not much has changed with the functionality of the Linux-PAM lib
Packit Service b29381
	  .../libpam
Packit Service b29381
		- pam_password calls module twice with different arguments
Packit Service b29381
		- added const to some of the function arguments
Packit Service b29381
		- added PAM_MAX_MES_ to <security/_pam_types.h>
Packit Service b29381
		- was a lot over zealous about purging old passwords...
Packit Service b29381
		  I have removed much of this from source to make it
Packit Service b29381
		  more compatible with SUN.
Packit Service b29381
		- moved some PAM_... tokens to pam_modules.h from _pam_types.h
Packit Service b29381
		  (no-one should notice)
Packit Service b29381
Packit Service b29381
	* added three modules: pam_permit pam_deny pam_stress
Packit Service b29381
	  no prizes for guessing what the first two do. The third is
Packit Service b29381
	  a reasonably complete (functional) module. Is intended for testing
Packit Service b29381
	  applications with.
Packit Service b29381
Packit Service b29381
	* fixed a few pieces of examples/blank.c so that it works (with
Packit Service b29381
	  pam_stress)
Packit Service b29381
Packit Service b29381
	* ammended the documentation. Looking better, but suggestions/comments
Packit Service b29381
	  very welcome!
Packit Service b29381
Packit Service b29381
Sunday March 10 10:50:00 PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )
Packit Service b29381
Packit Service b29381
These notes are for Linux-PAM release 0.21.  They cover what's changed
Packit Service b29381
since I relased 0.2.
Packit Service b29381
Packit Service b29381
	* am now using RCS
Packit Service b29381
	* substantially changed ./README
Packit Service b29381
	* fixed bug reading \\\n in pam.conf file
Packit Service b29381
	* small changes to documentation
Packit Service b29381
	* added `blank' application to ./examples (could be viewed as
Packit Service b29381
	  a `Linux-PAM aware' application template.)
Packit Service b29381
	* oops. now including pam_passwd.o and pam_session.o in pamlib.so
Packit Service b29381
	* compute md5 checksums for all the source when making a release
Packit Service b29381
	    - added `make check' and `make RCScheck' to compute md5 checksums
Packit Service b29381
	* create a second tar file with all the RCS files in.
Packit Service b29381
	* removed the .html and .txt docs, supplying sgml sources instead.
Packit Service b29381
	    - see README for info on where to get .ps files
Packit Service b29381
Packit Service b29381
Thursday March 6 0:44:?? PST 1996 ( Andrew Morgan <morgan@physics.ucla.edu> )
Packit Service b29381
Packit Service b29381
These notes are for Linux-PAM release 0.2.  They cover what's changed
Packit Service b29381
since Marc Ewing relased 0.1.
Packit Service b29381
Packit Service b29381
**** Please note. All of the directories in this release have been modified
Packit Service b29381
**** slightly to conform to the new pamlib. A couple of new directories have
Packit Service b29381
**** been added. As well as some documentation. If some of your code
Packit Service b29381
**** was in the previous release. Feel free to update it, but please
Packit Service b29381
**** try to conform to the new headers and Makefiles.
Packit Service b29381
Packit Service b29381
* Andrew Morgan (morgan@physics.ucla.edu) is making this release
Packit Service b29381
 availible, Marc has been busy...!
Packit Service b29381
Packit Service b29381
* Marc's pam-0.1/lib has been (quietly) enhanced and integrated into
Packit Service b29381
 Alex Yurie's collected tree of library and module code
Packit Service b29381
 (linux-pam.prop.1.tar.gz). Most of the changes are to do with error
Packit Service b29381
 checking. Some more robustness in the reading of the pam.conf file
Packit Service b29381
 and the addition of the pam_get_user() function.
Packit Service b29381
Packit Service b29381
* The pam_*.h files have been reorganized to logically enforce the
Packit Service b29381
 separation of modules from applications. [Don't panic! Apart from
Packit Service b29381
 changing references of the form
Packit Service b29381
Packit Service b29381
	#include "pam_appl.h"
Packit Service b29381
Packit Service b29381
 to
Packit Service b29381
Packit Service b29381
	#include <security/pam_appl.h>
Packit Service b29381
Packit Service b29381
 The reorganization should be backwardly compatable (ie. a module
Packit Service b29381
 written for SUN will be as compatable as it was before with the
Packit Service b29381
 previous version ;)~ ]
Packit Service b29381
Packit Service b29381
 (All of the source in this tree now conforms to this scheme...)
Packit Service b29381
Packit Service b29381
 The new reorganization means that modules can be compiled with a
Packit Service b29381
 single header, <security/pam_modules.h>, and applications with
Packit Service b29381
 <security/pam_appl.h>.
Packit Service b29381
Packit Service b29381
* I have tried to remove all the compiler warnings from the updated
Packit Service b29381
 "pamlib/*.c" files. On my system, (with a slightly modified <dlfcn.h>
Packit Service b29381
 email me if it interests you..) there are only two warnings that
Packit Service b29381
 remain: they are that ansi does not permit void --> fn ptr
Packit Service b29381
 assignment. K&Rv2 doesn't mention this....? As a matter of principle,
Packit Service b29381
 if anyone knows how to get rid of that warning... please
Packit Service b29381
 tell. Thanks! "-pedantic"
Packit Service b29381
Packit Service b29381
* you can "make all" as a plain user, but
Packit Service b29381
Packit Service b29381
* to "make install" you must be root. The include files are placed in
Packit Service b29381
 /usr/include/security. The libpam.so library is installed in /usr/lib
Packit Service b29381
 and the modules in /usr/lib/security. The two test binaries
Packit Service b29381
 are installed in the Linux-PAM-0.2/bin directory and a chance is given to
Packit Service b29381
 replace your /etc/pam.conf file with the one in Linux-PAM-0.2/conf.
Packit Service b29381
Packit Service b29381
* I have included some documentation (pretty preliminary at the
Packit Service b29381
moment) which I have been working on in .../doc .
Packit Service b29381
Packit Service b29381
I have had a little trouble with the modules, but atleast there are no
Packit Service b29381
segfaults! Please try it out and discuss your results... I actually
Packit Service b29381
hope it all works for you. But, Email any bugs/suggestions to the
Packit Service b29381
Linux-PAM list: linux-pam@mit.edu .....
Packit Service b29381
Packit Service b29381
Regards,
Packit Service b29381
Packit Service b29381
Andrew Morgan
Packit Service b29381
(morgan@physics.ucla.edu)
Packit Service b29381
Packit Service b29381
Packit Service b29381
Sat Feb 17 17:30:24 EST 1996 (Alexander O. Yuriev alex@bach.cis.temple.edu)
Packit Service b29381
Packit Service b29381
	* conf directory created with example of pam_conf
Packit Service b29381
	* stable code from pam_unix is added to modules/pam_unix
Packit Service b29381
	* test/test.c now requests username and password and attempts
Packit Service b29381
	  to perform authentication