pam_set_item.3 revision 1.5 1 <<<<<<< pam_set_item.3
2 .\" $NetBSD: pam_set_item.3,v 1.5 2014/10/24 18:17:56 christos Exp $
3 .\"
4 =======
5 >>>>>>> 1.1.1.4
6 .\" Generated from pam_set_item.c by gendoc.pl
7 .\" Id: pam_set_item.c 648 2013-03-05 17:54:27Z des
8 .Dd September 12, 2014
9 .Dt PAM_SET_ITEM 3
10 .Os
11 .Sh NAME
12 .Nm pam_set_item
13 .Nd set authentication information
14 .Sh LIBRARY
15 .Lb libpam
16 .Sh SYNOPSIS
17 .In sys/types.h
18 .In security/pam_appl.h
19 .Ft "int"
20 .Fn pam_set_item "pam_handle_t *pamh" "int item_type" "const void *item"
21 .Sh DESCRIPTION
22 The
23 .Fn pam_set_item
24 function sets the item specified by the
25 .Fa item_type
26 argument to a copy of the object pointed to by the
27 .Fa item
28 argument.
29 The item is stored in the PAM context specified by the
30 .Fa pamh
31 argument.
32 See
33 .Xr pam_get_item 3
34 for a list of recognized item types.
35 .Sh RETURN VALUES
36 The
37 .Fn pam_set_item
38 function returns one of the following values:
39 .Bl -tag -width 18n
40 .It Bq Er PAM_BUF_ERR
41 Memory buffer error.
42 .It Bq Er PAM_SYMBOL_ERR
43 Invalid symbol.
44 .It Bq Er PAM_SYSTEM_ERR
45 System error.
46 .El
47 .Sh SEE ALSO
48 .Xr pam 3 ,
49 .Xr pam_get_item 3 ,
50 .Xr pam_strerror 3
51 .Sh STANDARDS
52 .Rs
53 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
54 .%D "June 1997"
55 .Re
56 .Sh AUTHORS
57 The
58 .Fn pam_set_item
59 function and this manual page were
60 developed for the
61 .Fx
62 Project by ThinkSec AS and Network Associates Laboratories, the
63 Security Research Division of Network Associates, Inc.\& under
64 DARPA/SPAWAR contract N66001-01-C-8035
65 .Pq Dq CBOSS ,
66 as part of the DARPA CHATS research program.
67 .Pp
68 The OpenPAM library is maintained by
69 .An Dag-Erling Sm\(/orgrav Aq des (a] des.no .
70