xref: /freebsd/contrib/openpam/doc/man/pam_set_item.3 (revision 5b9c547c)
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 12, 2014
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
17The
18.Fn pam_set_item
19function sets the item specified by the
20.Fa item_type
21argument to a copy of the object pointed to by the
22.Fa item
23argument.
24The item is stored in the PAM context specified by the
25.Fa pamh
26argument.
27See
28.Xr pam_get_item 3
29for a list of recognized item types.
30.Sh RETURN VALUES
31The
32.Fn pam_set_item
33function returns one of the following values:
34.Bl -tag -width 18n
35.It Bq Er PAM_BUF_ERR
36Memory buffer error.
37.It Bq Er PAM_SYMBOL_ERR
38Invalid symbol.
39.It Bq Er PAM_SYSTEM_ERR
40System 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
52The
53.Fn pam_set_item
54function and this manual page were
55developed for the
56.Fx
57Project by ThinkSec AS and Network Associates Laboratories, the
58Security Research Division of Network Associates, Inc.\& under
59DARPA/SPAWAR contract N66001-01-C-8035
60.Pq Dq CBOSS ,
61as part of the DARPA CHATS research program.
62.Pp
63The OpenPAM library is maintained by
64.An Dag-Erling Sm\(/orgrav Aq des@des.no .
65