2 .\" Copyright (C) 2002, Sun Microsystems, Inc.
3 .\" All Rights Reserved.
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.
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.
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]
7 .TH PAM_AUTHTOK_STORE 5 "Jan 26, 2004"
9 pam_authtok_store \- password management module
13 \fBpam_authtok_store.so.1\fR
19 \fBpam_authtok_store\fR provides functionality to the PAM password management
20 stack. It provides one function: \fBpam_sm_chauthtok()\fR.
23 When invoked with flags set to \fBPAM_UPDATE_AUTHTOK\fR, this module updates
24 the authentication token for the user specified by \fBPAM_USER\fR.
27 The authentication token \fBPAM_OLDAUTHTOK\fR can be used to authenticate the
28 user against repositories that need updating (\fBNIS\fR, \fBLDAP\fR). After
29 successful updates, the new authentication token stored in \fBPAM_AUTHTOK\fR is
30 the user's valid password.
33 This module honors the \fBPAM_REPOSITORY\fR item, which, if set, specifies
34 which repository is to be updated. If \fBPAM_REPOSITORY\fR is unset, it follows
35 the \fBnsswitch.conf\fR(4).
38 The following option can be passed to the module:
45 \fBsyslog\fR(3C) debugging information at the \fBLOG_DEBUG\fR level
51 \fB\fBserver_policy\fR\fR
54 If the account authority for the user, as specified by \fBPAM_USER\fR, is a
55 server, do not encrypt the authentication token before updating.
62 \fB\fBPAM_SUCCESS\fR\fR
65 Successfully obtains authentication token
71 \fB\fBPAM_SYSTEM_ERR\fR\fR
74 Fails to get username, service name, old password or new password, user name
75 null or empty, or password null.
81 See \fBattributes\fR(5) for descriptions of the following attributes:
89 ATTRIBUTE TYPE ATTRIBUTE VALUE
91 Interface Stability Evolving
93 MT Level MT-Safe with exceptions
99 \fBpam\fR(3PAM), \fBpam_authenticate\fR(3PAM), \fBpam_chauthtok\fR(3PAM),
100 \fBsyslog\fR(3C), \fBlibpam\fR(3LIB), \fBpam.conf\fR(4), \fBattributes\fR(5),
101 \fBpam_authtok_check\fR(5), \fBpam_authtok_get\fR(5), \fBpam_dhkeys\fR(5),
102 \fBpam_passwd_auth\fR(5), \fBpam_unix_account\fR(5), \fBpam_unix_auth\fR(5),
103 \fBpam_unix_session\fR(5)
107 The interfaces in \fBlibpam\fR(3LIB) are MT-Safe only if each thread within the
108 multi-threaded application uses its own \fBPAM\fR handle.
111 The \fBpam_unix\fR(5) module is no longer supported. Similar functionality is
112 provided by \fBpam_authtok_check\fR(5), \fBpam_authtok_get\fR(5),
113 \fBpam_authtok_store\fR(5), \fBpam_dhkeys\fR(5), \fBpam_passwd_auth\fR(5),
114 \fBpam_unix_account\fR(5), \fBpam_unix_auth\fR(5), and
115 \fBpam_unix_session\fR(5).
118 If the \fBPAM_REPOSITORY\fR \fIitem_type\fR is set and a service module does
119 not recognize the type, the service module does not process any information,
120 and returns \fBPAM_IGNORE\fR. If the \fBPAM_REPOSITORY\fR \fIitem_type\fR is
121 not set, a service module performs its default action.