]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/openpam/doc/man/openpam_set_option.3
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / openpam / doc / man / openpam_set_option.3
1 .\" Generated from openpam_set_option.c by gendoc.pl
2 .\" $Id: openpam_set_option.c 648 2013-03-05 17:54:27Z des $
3 .Dd September 12, 2014
4 .Dt OPENPAM_SET_OPTION 3
5 .Os
6 .Sh NAME
7 .Nm openpam_set_option
8 .Nd sets the value of a module option
9 .Sh LIBRARY
10 .Lb libpam
11 .Sh SYNOPSIS
12 .In sys/types.h
13 .In security/pam_appl.h
14 .In security/openpam.h
15 .Ft "int"
16 .Fn openpam_set_option "pam_handle_t *pamh" "const char *option" "const char *value"
17 .Sh DESCRIPTION
18 The
19 .Fn openpam_set_option
20 function sets the specified option in the
21 context of the currently executing service module.
22 .Pp
23 .Sh RETURN VALUES
24 The
25 .Fn openpam_set_option
26 function returns one of the following values:
27 .Bl -tag -width 18n
28 .It Bq Er PAM_BUF_ERR
29 Memory buffer error.
30 .It Bq Er PAM_SYSTEM_ERR
31 System error.
32 .El
33 .Sh SEE ALSO
34 .Xr openpam_get_option 3 ,
35 .Xr pam 3 ,
36 .Xr pam_strerror 3
37 .Sh STANDARDS
38 The
39 .Fn openpam_set_option
40 function is an OpenPAM extension.
41 .Sh AUTHORS
42 The
43 .Fn openpam_set_option
44 function and this manual page were
45 developed for the
46 .Fx
47 Project by ThinkSec AS and Network Associates Laboratories, the
48 Security Research Division of Network Associates, Inc.\& under
49 DARPA/SPAWAR contract N66001-01-C-8035
50 .Pq Dq CBOSS ,
51 as part of the DARPA CHATS research program.
52 .Pp
53 The OpenPAM library is maintained by
54 .An Dag-Erling Sm\(/orgrav Aq des@des.no .