xref: /freebsd/contrib/openpam/doc/man/pam_set_item.3 (revision 49e56509dbc8fd972cf527b2966bf56ce9c0726e)
1ce77a8d6SDag-Erling Smørgrav.\" Generated from pam_set_item.c by gendoc.pl
2*49e56509SDag-Erling Smørgrav.\" $OpenPAM: pam_set_item.c 938 2017-04-30 21:34:42Z des $
3*49e56509SDag-Erling Smørgrav.Dd April 30, 2017
45c1eca55SDag-Erling Smørgrav.Dt PAM_SET_ITEM 3
55c1eca55SDag-Erling Smørgrav.Os
65c1eca55SDag-Erling Smørgrav.Sh NAME
75c1eca55SDag-Erling Smørgrav.Nm pam_set_item
85c1eca55SDag-Erling Smørgrav.Nd set authentication information
95c1eca55SDag-Erling Smørgrav.Sh SYNOPSIS
10644f2b7cSDag-Erling Smørgrav.In sys/types.h
115c1eca55SDag-Erling Smørgrav.In security/pam_appl.h
12ca236e63SDag-Erling Smørgrav.Ft "int"
135c1eca55SDag-Erling Smørgrav.Fn pam_set_item "pam_handle_t *pamh" "int item_type" "const void *item"
145c1eca55SDag-Erling Smørgrav.Sh DESCRIPTION
155c1eca55SDag-Erling SmørgravThe
162f3ed619SDag-Erling Smørgrav.Fn pam_set_item
1746acc370SDag-Erling Smørgravfunction sets the item specified by the
18b33ab329SDag-Erling Smørgrav.Fa item_type
1946acc370SDag-Erling Smørgravargument to a copy of the object pointed to by the
20b33ab329SDag-Erling Smørgrav.Fa item
2146acc370SDag-Erling Smørgravargument.
2246acc370SDag-Erling SmørgravThe item is stored in the PAM context specified by the
23b33ab329SDag-Erling Smørgrav.Fa pamh
2446acc370SDag-Erling Smørgravargument.
2546acc370SDag-Erling SmørgravSee
2646acc370SDag-Erling Smørgrav.Xr pam_get_item 3
2746acc370SDag-Erling Smørgravfor a list of recognized item types.
285c1eca55SDag-Erling Smørgrav.Sh RETURN VALUES
295c1eca55SDag-Erling SmørgravThe
302f3ed619SDag-Erling Smørgrav.Fn pam_set_item
315c1eca55SDag-Erling Smørgravfunction returns one of the following values:
3246acc370SDag-Erling Smørgrav.Bl -tag -width 18n
33*49e56509SDag-Erling Smørgrav.It Bq Er PAM_SUCCESS
34*49e56509SDag-Erling SmørgravSuccess.
35*49e56509SDag-Erling Smørgrav.It Bq Er PAM_BAD_ITEM
36*49e56509SDag-Erling SmørgravUnrecognized or restricted item.
3746acc370SDag-Erling Smørgrav.It Bq Er PAM_BUF_ERR
3846acc370SDag-Erling SmørgravMemory buffer error.
395c1eca55SDag-Erling Smørgrav.El
405c1eca55SDag-Erling Smørgrav.Sh SEE ALSO
4146acc370SDag-Erling Smørgrav.Xr pam 3 ,
4246acc370SDag-Erling Smørgrav.Xr pam_get_item 3 ,
4346acc370SDag-Erling Smørgrav.Xr pam_strerror 3
445c1eca55SDag-Erling Smørgrav.Sh STANDARDS
455c1eca55SDag-Erling Smørgrav.Rs
465c1eca55SDag-Erling Smørgrav.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
475c1eca55SDag-Erling Smørgrav.%D "June 1997"
485c1eca55SDag-Erling Smørgrav.Re
495c1eca55SDag-Erling Smørgrav.Sh AUTHORS
505c1eca55SDag-Erling SmørgravThe
512f3ed619SDag-Erling Smørgrav.Fn pam_set_item
522f3ed619SDag-Erling Smørgravfunction and this manual page were
532f3ed619SDag-Erling Smørgravdeveloped for the
54ca236e63SDag-Erling Smørgrav.Fx
552f3ed619SDag-Erling SmørgravProject by ThinkSec AS and Network Associates Laboratories, the
569bc006deSDag-Erling SmørgravSecurity Research Division of Network Associates, Inc.\& under
57ca236e63SDag-Erling SmørgravDARPA/SPAWAR contract N66001-01-C-8035
585c1eca55SDag-Erling Smørgrav.Pq Dq CBOSS ,
595c1eca55SDag-Erling Smørgravas part of the DARPA CHATS research program.
60ce77a8d6SDag-Erling Smørgrav.Pp
61ce77a8d6SDag-Erling SmørgravThe OpenPAM library is maintained by
62f3b0ac34SDag-Erling Smørgrav.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
63