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