0.74: please submit patches for this section with actual code/doc
patches!
+* removed unnecessary CVS Log tags from all over the source
+ (Bug 124391 - baggins)
* pam_tally - check for PAM_TTY if PAM_RHOST is not set when writing
to faillog (Bug 124394 - baggins)
* use O_NOFOLLOW if available when opening debug log (Bug 124385 - baggins)
##
# $Id$
##
-# $Log$
-# Revision 1.1 2000/06/20 22:10:44 agmorgan
-# Initial revision
-#
-# Revision 1.1.1.1 1998/07/12 05:17:14 morgan
-# Linux PAM sources pre-0.66
-#
-# Revision 1.6 1997/02/15 19:21:08 morgan
-# fixed email
-#
-# Revision 1.5 1996/08/09 05:29:43 morgan
-# trimmed in line with the removal of applications from the distribution
-#
-#
-##
(now we are getting networked apps, be careful to try and test on a
securely isolated system!)
#
# $Id$
#
-# $Log$
-# Revision 1.1 2000/06/20 22:10:45 agmorgan
-# Initial revision
-#
-# Revision 1.1.1.1 1998/07/12 05:17:14 morgan
-# Linux PAM sources pre-0.66
-#
-#
# Created by Andrew G. Morgan (morgan@parc.power.net)
#
/*
* $Id$
- *
- * $Log$
- * Revision 1.1 2000/06/20 22:11:13 agmorgan
- * Initial revision
- *
- * Revision 1.2 1999/11/08 05:39:53 morgan
- * removed void main def which was making gcc complain
- *
- * Revision 1.1.1.1 1998/07/12 05:17:14 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.7 1996/12/01 03:16:53 morgan
- * added setcred closing function
- *
- * Revision 1.6 1996/11/10 19:51:40 morgan
- * minor change to avoid gcc warning
- *
- * Revision 1.5 1996/07/07 23:53:05 morgan
- * added optional fail delay (non-standard Linux-PAM)
- *
- * Revision 1.4 1996/05/02 04:44:18 morgan
- * moved conversation to a libmisc library routine.
- *
- *
*/
/* Andrew Morgan (morgan@parc.power.net) -- a self contained `blank'
# check authorization
check auth required pam_unix_auth.so
check account required pam_unix_acct.so
-
- $Log$
- Revision 1.1 2000/06/20 22:11:13 agmorgan
- Initial revision
-
- Revision 1.1.1.1 1998/07/12 05:17:14 morgan
- Linux PAM sources pre-0.66
-
- Revision 1.1 1996/11/10 21:19:30 morgan
- Initial revision
-
- */
+*/
#include <security/pam_appl.h>
#include <security/pam_misc.h>
/*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:13 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:14 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.3 1996/03/10 00:14:20 morgan
- * made lines less than 80 chars long.
- *
- * Revision 1.2 1996/03/09 09:16:26 morgan
- * changed the header file that it includes.
- *
- * Revision 1.1 1996/03/09 09:13:34 morgan
- * Initial revision
- */
-
-/* Marc Ewing (marc@redhat.com) - original test code
+ * Marc Ewing (marc@redhat.com) - original test code
* Alexander O. Yuriev (alex@bach.cis.temple.edu)
* Andrew Morgan (morgan@physics.ucla.edu)
*/
-/* $Id$
- *
- * $Log$
- * Revision 1.1 2000/06/20 22:11:23 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.1 1996/11/10 21:23:14 morgan
- * Initial revision
- *
+/*
+ * $Id$
*/
/*
*
* $Id$
*
- * This header file documents the PAM SPI --- that is, interface
- * between the PAM library and a PAM service library which is called
- * by the PAM library.
- *
- * Note, the copyright information is at end of file.
- *
- * $Log$
- * Revision 1.1 2000/06/20 22:11:23 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.8 1997/01/04 20:14:42 morgan
- * moved PAM_DATA_SILENT to _pam_types.h so applications can use it too
- *
- * Revision 1.7 1996/11/10 19:57:08 morgan
- * pam_get_user prototype.
- *
- * Revision 1.6 1996/09/05 06:18:45 morgan
- * added some data error_status masks, changed prototype for cleanup()
- *
- * Revision 1.5 1996/06/02 07:58:37 morgan
- * altered the way in which modules obtain static prototypes for
- * functions
- *
*/
#ifndef _SECURITY_PAM_MODULES_H
*
* $Id$
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:13 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.7 1997/04/05 06:53:52 morgan
- * fail-delay changes
- *
*/
#include <stdio.h>
*
* $Id$
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:14 agmorgan
- * Initial revision
- *
- * Revision 1.2 1999/07/04 23:23:42 morgan
- * add appdata_ptr to app callback function
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
*/
/*
/*
* $Id$
- *
- * $Log$
- * Revision 1.1 2000/06/20 22:11:17 agmorgan
- * Initial revision
- *
- * Revision 1.3 1999/11/08 05:41:05 morgan
- * pam_log - extra paranoia
- * otherwise debugging changes
- *
- * Revision 1.2 1998/12/27 04:34:22 morgan
- * reverting logging functions within libpam. Gone are the externally
- * advertised API replaced by a more simple (libpam internal) one.
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
*/
#include <ctype.h>
/*
* $Id$
- *
- * $Log$
- * Revision 1.2 2000/12/04 18:31:56 baggins
- *
- * Relevant BUGIDs: 124385
- *
- * Purpose of commit: security
- *
- * Commit summary:
- * ---------------
- * * use O_NOFOLLOW if available when opening debug log
- *
- * Revision 1.1.1.1 2000/06/20 22:11:18 agmorgan
- * Imported 0.72 Linux-PAM sources
- *
- * Revision 1.2 1998/12/27 04:34:23 morgan
- * reverting logging functions within libpam. Gone are the externally
- * advertised API replaced by a more simple (libpam internal) one.
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.2 1996/12/01 03:14:13 morgan
- * use _pam_macros.h
- *
- * Revision 1.1 1996/11/10 21:26:11 morgan
- * Initial revision
- *
*/
/*
* This is based on the X/Open XSSO specification of March 1997.
* It is not implemented as it is going to change... after 1997/9/25.
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:19 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
*/
#include <stdio.h>
*
* $Id$
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:20 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
*/
#include <stdio.h>
/*
* $Id$
- *
- * $Log$
- * Revision 1.1 2000/06/20 22:11:20 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.3 1996/12/01 03:14:13 morgan
- * use _pam_macros.h
- *
- * Revision 1.2 1996/03/10 02:19:12 morgan
- * some oversight meant that this wasn't being compiled. It needed a
- * couple of changes.
- *
- *
*/
#include <stdio.h>
/* pam_strerror.c */
-/* $Id$
- *
- * $Log$
- * Revision 1.1 2000/06/20 22:11:21 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.6 1997/01/04 20:12:02 morgan
- * replaced conditional FAIL_NOW with ABORT
- *
- * Revision 1.5 1996/07/07 23:58:56 morgan
- * corrected "... " to "..."
- *
- * Revision 1.4 1996/06/02 08:03:29 morgan
- * spelling correction
- *
- * Revision 1.3 1996/03/16 23:08:54 morgan
- * PAM --> Linux-PAM ;)
- *
+/*
+ * $Id$
*/
#include "pam_private.h"
* Please see end of file for copyright.
*
* Creator: Andrew Morgan.
- *
- * $Log$
- * Revision 1.1 2000/06/20 22:11:21 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
*
*/
*
* This file was written by Andrew G. Morgan <morgan@parc.power.net>
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:24 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:15 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.2 1997/01/04 20:19:20 morgan
- * added a prototype (no warning) and fixed paste function
- *
- * Revision 1.1 1996/12/01 03:25:37 morgan
- * Initial revision
- *
*/
#include <stdlib.h>
*
* Written by Andrew Morgan <morgan@parc.power.net> 1996/3/11
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:33 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:16 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.4 1997/02/15 19:05:15 morgan
- * fixed email
- *
- * Revision 1.3 1996/06/02 08:06:19 morgan
- * changes for new static protocol
- *
- * Revision 1.2 1996/05/26 04:01:12 morgan
- * added static support
- *
- * Revision 1.1 1996/03/16 17:47:36 morgan
- * Initial revision
- *
*/
/*
*
* Written by Michael K. Johnson <johnsonm@redhat.com> 1996/10/24
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:46 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:17 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.4 1997/04/05 06:36:47 morgan
- * display message when the user is unknown
- *
- * Revision 1.3 1996/12/01 03:00:54 morgan
- * added prototype to conversation, gave static structure name of module
- *
- * Revision 1.2 1996/11/10 21:02:31 morgan
- * compile against .53
- *
- * Revision 1.1 1996/10/25 03:19:36 morgan
- * Initial revision
- *
- *
*/
#include <stdio.h>
*
* Written by Andrew Morgan <morgan@parc.power.net> 1996/3/11
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:46 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:16 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.5 1997/02/15 19:03:15 morgan
- * fixed email address
- *
- * Revision 1.4 1997/02/15 16:03:10 morgan
- * force a name for user
- *
- * Revision 1.3 1996/06/02 08:10:14 morgan
- * updated for new static protocol
- *
*/
#define DEFAULT_USER "nobody"
$Id$
-$Log$
-Revision 1.1 2000/06/20 22:11:46 agmorgan
-Initial revision
-
-Revision 1.1.1.1 1998/07/12 05:17:16 morgan
-Linux PAM sources pre-0.66
-
-Revision 1.2 1996/09/05 06:36:16 morgan
-revised for .52 to be released
-
-
As of Linux-PAM-0.52 this is new. No known bugs yet.
* needed on buffers full of bytes, and then call MD5Final, which
* will fill a supplied 16-byte array with the digest.
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:48 agmorgan
- * Initial revision
- *
- * Revision 1.2 1999/07/04 23:22:38 morgan
- * Andrey's MD5 (bigendian) work around + cleanup to address problems with
- * applications that let an (ab)user kill them off without giving PAM the
- * opportunity to end. [Problem report from Tani Hosokawa on bugtraq.]
- *
- * Revision 1.1.1.1 1998/07/12 05:17:17 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.1 1996/09/05 06:43:31 morgan
- * Initial revision
- *
*/
#include <string.h>
*
* Origin: Id: crypt.c,v 1.3 1995/05/30 05:42:22 rgrimes Exp
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:48 agmorgan
- * Initial revision
- *
- * Revision 1.2 1999/07/04 23:22:38 morgan
- * Andrey's MD5 (bigendian) work around + cleanup to address problems with
- * applications that let an (ab)user kill them off without giving PAM the
- * opportunity to end. [Problem report from Tani Hosokawa on bugtraq.]
- *
- * Revision 1.1.1.1 1998/07/12 05:17:17 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.1 1996/09/05 06:43:31 morgan
- * Initial revision
- *
*/
#include <string.h>
/*
* $Id$
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:49 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:17 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.6 1997/01/04 20:37:15 morgan
- * extra debugging
- *
- * Revision 1.5 1996/12/01 03:05:54 morgan
- * debugging with _pam_macros.h
- *
- * Revision 1.4 1996/11/10 21:03:57 morgan
- * pwdb conversion
- *
- * Revision 1.3 1996/09/05 06:45:45 morgan
- * tidied shadow acct management
- *
- * Revision 1.2 1996/09/01 01:13:14 morgan
- * Cristian Gafton's patches
- *
- * Revision 1.1 1996/08/29 13:27:51 morgan
- * Initial revision
- *
- *
* See end of file for copyright information
*/
/* $Id$ */
-/*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:50 agmorgan
- * Initial revision
- *
- * Revision 1.2 1999/07/04 23:22:38 morgan
- * Andrey's MD5 (bigendian) work around + cleanup to address problems with
- * applications that let an (ab)user kill them off without giving PAM the
- * opportunity to end. [Problem report from Tani Hosokawa on bugtraq.]
- *
- * Revision 1.1.1.1 1998/07/12 05:17:16 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.6 1997/04/05 06:31:06 morgan
- * mostly a reformat.
- *
- * Revision 1.5 1996/12/01 03:05:54 morgan
- * debugging with _pam_macros.h
- *
- * Revision 1.4 1996/11/10 21:04:51 morgan
- * pwdb conversion
- *
- * Revision 1.3 1996/09/05 06:48:15 morgan
- * A lot has changed. I'd recommend you study the diff.
- *
- * Revision 1.2 1996/09/01 16:33:27 morgan
- * Cristian Gafton's changes
- *
- * Revision 1.1 1996/08/29 13:21:27 morgan
- * Initial revision
- *
- */
-
static const char rcsid_pass[] =
"$Id$\n"
" - PAM_PWDB password module <morgan@parc.power.net>"
/*
* $Id$
*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:51 agmorgan
- * Initial revision
- *
- * Revision 1.1.1.1 1998/07/12 05:17:16 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.4 1996/12/01 03:05:54 morgan
- * debugging with _pam_macros.h
- *
- * Revision 1.3 1996/11/10 21:05:33 morgan
- * pwdb conversion
- *
- * Revision 1.2 1996/09/05 06:49:02 morgan
- * more informative logging
- *
- * Revision 1.1 1996/08/29 13:27:51 morgan
- * Initial revision
- *
- *
* See end for Copyright information
*/
};
#endif
-
-/*
- * $Log$
- * Revision 1.1 2000/06/20 22:11:56 agmorgan
- * Initial revision
- *
- * Revision 1.4 1999/11/08 05:46:58 morgan
- * fixes for .71
- *
- * Revision 1.3 1999/10/09 05:12:49 morgan
- * added hosts_equiv_rootok support
- *
- * Revision 1.2 1998/12/14 05:47:58 morgan
- * added a couple of options: specify the name of root, and don't do the
- * user-known check.
- *
- * Revision 1.1.1.1 1998/07/12 05:17:16 morgan
- * Linux PAM sources pre-0.66
- *
- * Revision 1.12 1997/09/27 14:34:01 morgan
- * fixed comment and renamed iruserok to pam_iruserok.
- *
- * Revision 1.11 1997/04/05 06:26:39 morgan
- * fairly major fixes and enhancements (see CHANGELOG for 0.57 release)
- *
- * Revision 1.10 1997/02/09 02:09:30 morgan
- * - implementation of 'debug' argument (Cristian Gafton)
- * - we check for uid=0 accounts instead of hardcoded 'root' (Cristian Gafton)
- *
- * Revision 1.9 1996/12/01 03:09:47 morgan
- * *** empty log message ***
- *
- * Revision 1.8 1996/11/12 06:08:59 morgan
- * Oliver Crow's "rootok" patch plus a little clean up of set_option
- * (AGM)
- *
- * Revision 1.7 1996/11/10 20:15:56 morgan
- * cross platform support
- *
- * Revision 1.6 1996/08/09 05:46:29 morgan
- * removed code for manually setting the remote username etc..
- *
- */
--------------------
Bugs to Andrew <morgan@parc.power.net> or the list <pam-list@redhat.com>
-
-########################################################################
-# $Log$
-# Revision 1.1 2000/06/20 22:12:00 agmorgan
-# Initial revision
-#
-# Revision 1.1.1.1 1998/07/12 05:17:16 morgan
-# Linux PAM sources pre-0.66
-#
-# Revision 1.3 1997/01/04 20:42:43 morgan
-# I want email on parc now
-#
-#
\ No newline at end of file