Print this page
2947 prelim manpage changes, packaging manifests

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man4/pam.conf.4
          +++ new/usr/src/man/man4/pam.conf.4
   1    1  '\" te
   2    2  .\" Copyright (C) 2006, Sun Microsystems, Inc. All Rights Reserved.
        3 +.\" Copyright 2012 Joshua M. Clulow <josh@sysmgr.org>
   3    4  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4    5  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5    6  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH PAM.CONF 4 "Jun 19, 2006"
        7 +.TH PAM.CONF 4 "Jun 30, 2012"
   7    8  .SH NAME
   8      -pam.conf \- configuration file for pluggable authentication modules
        9 +pam.d, pam.conf \- configuration for pluggable authentication modules
   9   10  .SH SYNOPSIS
  10   11  .LP
  11   12  .nf
       13 +\fB/etc/pam.d\fR
       14 +.fi
       15 +.nf
  12   16  \fB/etc/pam.conf\fR
  13   17  .fi
  14   18  
  15   19  .SH DESCRIPTION
  16   20  .sp
  17   21  .LP
  18      -\fBpam.conf\fR is the configuration file for the Pluggable Authentication
  19      -Module architecture, or \fBPAM\fR. A \fBPAM\fR module provides functionality
       22 +
       23 +\fB/etc/pam.d\fR is the configuration directory for the Pluggable Authentication
       24 +Module architecture, or \fBPAM\fR.  A \fBPAM\fR module provides functionality
  20   25  for one or more of four possible services: authentication, account management,
  21      -session management, and password management.
       26 +session management, and password management.  The configuration directory
       27 +contains per-service 'shards' of the legacy, monolithic \fBpam.conf\fR file.
  22   28  .sp
  23   29  .ne 2
  24   30  .na
  25   31  \fBauthentication service module\fR
  26   32  .ad
  27   33  .sp .6
  28   34  .RS 4n
  29   35  Provides functionality to authenticate a user and set up user credentials.
  30   36  .RE
  31   37  
↓ open down ↓ 43 lines elided ↑ open up ↑
  75   81  .sp
  76   82  .in +2
  77   83  .nf
  78   84  \fIservice_name module_type control_flag module_path options\fR
  79   85  .fi
  80   86  .in -2
  81   87  .sp
  82   88  
  83   89  .sp
  84   90  .LP
       91 +If shard files are used in \fB/etc/pam.d\fR instead of the monolithic
       92 +\fBpam.conf\fR file, then the \fIservice_name\fR column is not present in
       93 +those files.  The \fIservice_name\fR is, instead, derived from the
       94 +filename of the shard.  As an example, for the service 'login' the configuration
       95 +would now be in \fB/etc/pam.d/login\fR and would omit the first column
       96 +(previously containing 'login').
       97 +.sp
       98 +.LP
  85   99  The following is an example of a \fBpam.conf\fR configuration file with support
  86  100  for authentication, account management, session management and password
  87  101  management modules (See the \fBpam.conf\fR file that is shipped with your
  88  102  system for the contents of this file):
  89  103  .sp
  90  104  .in +2
  91  105  .nf
  92  106  login   auth requisite          pam_authtok_get.so.1
  93  107  login   auth required           pam_dhkeys.so.1
  94  108  login   auth required           pam_unix_auth.so.1
↓ open down ↓ 30 lines elided ↑ open up ↑
 125  139  account management (\fBaccount\fR), session management (\fBsession\fR), or
 126  140  password management (\fBpassword\fR).
 127  141  .sp
 128  142  .LP
 129  143  The \fIcontrol_flag\fR field determines the behavior of stacking.
 130  144  .sp
 131  145  .LP
 132  146  The \fImodule_path\fR field specifies the relative pathname to a shared library
 133  147  object, or an included \fBPAM\fR configuration file, which implements the
 134  148  service functionality. If the pathname is not absolute, shared library objects
 135      -are assumed to be relative to \fB/usr/lib/security/$ISA/\fR, and included
 136      -\fBPAM\fR configuration files are assumed to be relative to
 137      -\fB/usr/lib/security/\fR.
      149 +are assumed to be relative to \fB/usr/lib/security/$ISA/\fR, and \fBPAM\fR
      150 +configuration files included in shards are assumed to be relative to
      151 +\fB/etc/pam.d/\fR, or \fB/usr/lib/security/\fB if included in the legacy
      152 +\fBpam.conf\fR.
 138  153  .sp
 139  154  .LP
 140  155  The \fBISA\fR token is replaced by an implementation defined directory name
 141  156  which defines the path relative to the calling program's instruction set
 142  157  architecture.
 143  158  .sp
 144  159  .LP
 145  160  The \fIoptions\fR field is used by the \fBPAM\fR framework layer to pass module
 146  161  specific options to the modules. It is up to the module to parse and interpret
 147  162  the options.
↓ open down ↓ 190 lines elided ↑ open up ↑
 338  353  
 339  354  .sp
 340  355  .ne 2
 341  356  .na
 342  357  \fB\fB/etc/pam.conf\fR\fR
 343  358  .ad
 344  359  .RS 29n
 345  360  Configuration file
 346  361  .RE
 347  362  
      363 +.sp
      364 +.ne 2
      365 +.na
      366 +\fB\fB/etc/pam.d\fR\fR
      367 +.ad
      368 +.RS 29n
      369 +Configuration directory
      370 +.RE
      371 +
 348  372  .sp
 349  373  .ne 2
 350  374  .na
 351  375  \fB\fB/usr/lib/$ISA/libpam.so.1\fR\fR
 352  376  .ad
 353  377  .RS 29n
 354  378  File that implements the \fBPAM\fR framework library
 355  379  .RE
 356  380  
 357  381  .SH EXAMPLES
↓ open down ↓ 112 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX