pam_sm_setcred.3 revision 1.5 1 <<<<<<< pam_sm_setcred.3
2 .\" $NetBSD: pam_sm_setcred.3,v 1.5 2014/10/24 18:17:56 christos Exp $
3 .\"
4 =======
5 >>>>>>> 1.1.1.4
6 .\" Generated from pam_sm_setcred.c by gendoc.pl
7 .\" Id: pam_sm_setcred.c 648 2013-03-05 17:54:27Z des
8 .Dd September 12, 2014
9 .Dt PAM_SM_SETCRED 3
10 .Os
11 .Sh NAME
12 .Nm pam_sm_setcred
13 .Nd service module implementation for pam_setcred
14 .Sh LIBRARY
15 .Lb libpam
16 .Sh SYNOPSIS
17 .In sys/types.h
18 .In security/pam_appl.h
19 .In security/pam_modules.h
20 .Ft "int"
21 .Fn pam_sm_setcred "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
22 .Sh DESCRIPTION
23 The
24 .Fn pam_sm_setcred
25 function is the service module's implementation of
26 the
27 .Xr pam_setcred 3
28 API function.
29 .Sh RETURN VALUES
30 The
31 .Fn pam_sm_setcred
32 function returns one of the following values:
33 .Bl -tag -width 18n
34 .It Bq Er PAM_ABORT
35 General failure.
36 .It Bq Er PAM_BUF_ERR
37 Memory buffer error.
38 .It Bq Er PAM_CONV_ERR
39 Conversation failure.
40 .It Bq Er PAM_CRED_ERR
41 Failed to set user credentials.
42 .It Bq Er PAM_CRED_EXPIRED
43 User credentials have expired.
44 .It Bq Er PAM_CRED_UNAVAIL
45 Failed to retrieve user credentials.
46 .It Bq Er PAM_IGNORE
47 Ignore this module.
48 .It Bq Er PAM_PERM_DENIED
49 Permission denied.
50 .It Bq Er PAM_SERVICE_ERR
51 Error in service module.
52 .It Bq Er PAM_SYSTEM_ERR
53 System error.
54 .It Bq Er PAM_USER_UNKNOWN
55 Unknown user.
56 .El
57 .Sh SEE ALSO
58 .Xr pam 3 ,
59 .Xr pam_setcred 3 ,
60 .Xr pam_strerror 3
61 .Sh STANDARDS
62 .Rs
63 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
64 .%D "June 1997"
65 .Re
66 .Sh AUTHORS
67 The
68 .Fn pam_sm_setcred
69 function and this manual page were
70 developed for the
71 .Fx
72 Project by ThinkSec AS and Network Associates Laboratories, the
73 Security Research Division of Network Associates, Inc.\& under
74 DARPA/SPAWAR contract N66001-01-C-8035
75 .Pq Dq CBOSS ,
76 as part of the DARPA CHATS research program.
77 .Pp
78 The OpenPAM library is maintained by
79 .An Dag-Erling Sm\(/orgrav Aq des (a] des.no .
80