xref: /freebsd/contrib/openpam/doc/man/pam_set_item.3 (revision 3ba4c8c81a28de3e00ccf6d7f92c6f8e58bef456)
1ce77a8d6SDag-Erling Smørgrav.\" Generated from pam_set_item.c by gendoc.pl
2*3ba4c8c8SDag-Erling Smørgrav.Dd June 27, 2023
35c1eca55SDag-Erling Smørgrav.Dt PAM_SET_ITEM 3
45c1eca55SDag-Erling Smørgrav.Os
55c1eca55SDag-Erling Smørgrav.Sh NAME
65c1eca55SDag-Erling Smørgrav.Nm pam_set_item
75c1eca55SDag-Erling Smørgrav.Nd set authentication information
85c1eca55SDag-Erling Smørgrav.Sh SYNOPSIS
9644f2b7cSDag-Erling Smørgrav.In sys/types.h
105c1eca55SDag-Erling Smørgrav.In security/pam_appl.h
11ca236e63SDag-Erling Smørgrav.Ft "int"
125c1eca55SDag-Erling Smørgrav.Fn pam_set_item "pam_handle_t *pamh" "int item_type" "const void *item"
135c1eca55SDag-Erling Smørgrav.Sh DESCRIPTION
145c1eca55SDag-Erling SmørgravThe
152f3ed619SDag-Erling Smørgrav.Fn pam_set_item
1646acc370SDag-Erling Smørgravfunction sets the item specified by the
17b33ab329SDag-Erling Smørgrav.Fa item_type
1846acc370SDag-Erling Smørgravargument to a copy of the object pointed to by the
19b33ab329SDag-Erling Smørgrav.Fa item
2046acc370SDag-Erling Smørgravargument.
2146acc370SDag-Erling SmørgravThe item is stored in the PAM context specified by the
22b33ab329SDag-Erling Smørgrav.Fa pamh
2346acc370SDag-Erling Smørgravargument.
2446acc370SDag-Erling SmørgravSee
2546acc370SDag-Erling Smørgrav.Xr pam_get_item 3
2646acc370SDag-Erling Smørgravfor a list of recognized item types.
275c1eca55SDag-Erling Smørgrav.Sh RETURN VALUES
285c1eca55SDag-Erling SmørgravThe
292f3ed619SDag-Erling Smørgrav.Fn pam_set_item
305c1eca55SDag-Erling Smørgravfunction returns one of the following values:
3146acc370SDag-Erling Smørgrav.Bl -tag -width 18n
3249e56509SDag-Erling Smørgrav.It Bq Er PAM_SUCCESS
3349e56509SDag-Erling SmørgravSuccess.
3449e56509SDag-Erling Smørgrav.It Bq Er PAM_BAD_ITEM
3549e56509SDag-Erling SmørgravUnrecognized or restricted item.
3646acc370SDag-Erling Smørgrav.It Bq Er PAM_BUF_ERR
3746acc370SDag-Erling SmørgravMemory buffer error.
385c1eca55SDag-Erling Smørgrav.El
395c1eca55SDag-Erling Smørgrav.Sh SEE ALSO
4046acc370SDag-Erling Smørgrav.Xr pam 3 ,
4146acc370SDag-Erling Smørgrav.Xr pam_get_item 3 ,
4246acc370SDag-Erling Smørgrav.Xr pam_strerror 3
435c1eca55SDag-Erling Smørgrav.Sh STANDARDS
445c1eca55SDag-Erling Smørgrav.Rs
455c1eca55SDag-Erling Smørgrav.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
465c1eca55SDag-Erling Smørgrav.%D "June 1997"
475c1eca55SDag-Erling Smørgrav.Re
485c1eca55SDag-Erling Smørgrav.Sh AUTHORS
495c1eca55SDag-Erling SmørgravThe
502f3ed619SDag-Erling Smørgrav.Fn pam_set_item
512f3ed619SDag-Erling Smørgravfunction and this manual page were
522f3ed619SDag-Erling Smørgravdeveloped for the
53ca236e63SDag-Erling Smørgrav.Fx
542f3ed619SDag-Erling SmørgravProject by ThinkSec AS and Network Associates Laboratories, the
559bc006deSDag-Erling SmørgravSecurity Research Division of Network Associates, Inc.\& under
56ca236e63SDag-Erling SmørgravDARPA/SPAWAR contract N66001-01-C-8035
575c1eca55SDag-Erling Smørgrav.Pq Dq CBOSS ,
585c1eca55SDag-Erling Smørgravas part of the DARPA CHATS research program.
59ce77a8d6SDag-Erling Smørgrav.Pp
60ce77a8d6SDag-Erling SmørgravThe OpenPAM library is maintained by
61f3b0ac34SDag-Erling Smørgrav.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
62