2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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 .\" 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 .\" 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 LIBPAM 3LIB "Mar 24, 2004"
8 libpam \- PAM (Pluggable Authentication Module) library
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lpam\fR [ \fIlibrary\fR... ]
13 #include <\fBsecurity/pam_appl.h\fR>
19 Functions in this library provide routines for the Pluggable Authentication
24 The shared object \fBlibpam.so.1\fR provides the public interfaces defined
25 below. See \fBIntro\fR(3) for additional information on shared object
33 \fBpam_acct_mgmt\fR \fBpam_authenticate\fR
34 \fBpam_chauthtok\fR \fBpam_close_session\fR
35 \fBpam_end\fR \fBpam_get_data\fR
36 \fBpam_get_item\fR \fBpam_get_user\fR
37 \fBpam_getenv\fR \fBpam_getenvlist\fR
38 \fBpam_open_session\fR \fBpam_putenv\fR
39 \fBpam_set_data\fR \fBpam_set_item\fR
40 \fBpam_setcred\fR \fBpam_start\fR
48 \fB\fB/lib/libpam.so.1\fR\fR
58 \fB\fB/etc/pam.conf\fR\fR
68 \fB\fB/usr/lib/security/pam_dial_auth.so.1\fR\fR
72 authentication management \fBPAM\fR module for dialups
78 \fB\fB/usr/lib/security/pam_sample.so.1\fR\fR
82 sample \fBPAM\fR module
88 See \fBattributes\fR(5) for description of the following attributes:
96 ATTRIBUTE TYPE ATTRIBUTE VALUE
98 MT Level MT-Safe with exceptions
104 \fBpvs\fR(1), \fBIntro\fR(3), \fBpam\fR(3PAM), \fBpam.conf\fR(4),
105 \fBattributes\fR(5), \fBpam_authtok_check\fR(5), \fBpam_authtok_get\fR(5),
106 \fBpam_authtok_store\fR(5), \fBpam_dial_auth\fR(5), \fBpam_dhkeys\fR(5),
107 \fBpam_passwd_auth\fR(5), \fBpam_sample\fR(5),
108 \fBpam_unix_account\fR(5), \fBpam_unix_auth\fR(5), \fBpam_unix_session\fR(5)
112 The functions in \fBlibpam\fR are MT-Safe only if each thread within the
113 multithreaded application uses its own \fBPAM\fR handle.
116 The \fBpam_unix\fR(5) module is no longer supported. Similar functionality is
117 provided by \fBpam_authtok_check\fR(5), \fBpam_authtok_get\fR(5),
118 \fBpam_authtok_store\fR(5), \fBpam_dhkeys\fR(5), \fBpam_passwd_auth\fR(5),
119 \fBpam_unix_account\fR(5), \fBpam_unix_auth\fR(5), and
120 \fBpam_unix_session\fR(5).