1*0d9d0fd8Schristos.\" $NetBSD: openpam_set_option.3,v 1.9 2023/06/30 21:46:20 christos Exp $ 244269bb5Schristos.\" 38fa0fefeSchristos.\" Generated from openpam_set_option.c by gendoc.pl 4*0d9d0fd8Schristos.Dd June 27, 2023 544269bb5Schristos.Dt OPENPAM_SET_OPTION 3 644269bb5Schristos.Os 744269bb5Schristos.Sh NAME 844269bb5Schristos.Nm openpam_set_option 944269bb5Schristos.Nd sets the value of a module option 1044269bb5Schristos.Sh SYNOPSIS 1144269bb5Schristos.In sys/types.h 1244269bb5Schristos.In security/pam_appl.h 1344269bb5Schristos.In security/openpam.h 1444269bb5Schristos.Ft "int" 1544269bb5Schristos.Fn openpam_set_option "pam_handle_t *pamh" "const char *option" "const char *value" 1644269bb5Schristos.Sh DESCRIPTION 1744269bb5SchristosThe 18e1b25b17Schristos.Fn openpam_set_option 1944269bb5Schristosfunction sets the specified option in the 2044269bb5Schristoscontext of the currently executing service module. 2144269bb5Schristos.Sh RETURN VALUES 2244269bb5SchristosThe 23e1b25b17Schristos.Fn openpam_set_option 2444269bb5Schristosfunction returns one of the following values: 2544269bb5Schristos.Bl -tag -width 18n 264cb4af11Schristos.It Bq Er PAM_SUCCESS 274cb4af11SchristosSuccess. 2844269bb5Schristos.It Bq Er PAM_BUF_ERR 2944269bb5SchristosMemory buffer error. 3044269bb5Schristos.It Bq Er PAM_SYSTEM_ERR 3144269bb5SchristosSystem error. 3244269bb5Schristos.El 3344269bb5Schristos.Sh SEE ALSO 3444269bb5Schristos.Xr openpam_get_option 3 , 3544269bb5Schristos.Xr pam 3 , 3644269bb5Schristos.Xr pam_strerror 3 3744269bb5Schristos.Sh STANDARDS 3844269bb5SchristosThe 39e1b25b17Schristos.Fn openpam_set_option 4044269bb5Schristosfunction is an OpenPAM extension. 4144269bb5Schristos.Sh AUTHORS 4244269bb5SchristosThe 43e1b25b17Schristos.Fn openpam_set_option 44e1b25b17Schristosfunction and this manual page were 45e1b25b17Schristosdeveloped for the 4644269bb5Schristos.Fx 47e1b25b17SchristosProject by ThinkSec AS and Network Associates Laboratories, the 4844269bb5SchristosSecurity Research Division of Network Associates, Inc.\& under 4944269bb5SchristosDARPA/SPAWAR contract N66001-01-C-8035 5044269bb5Schristos.Pq Dq CBOSS , 5144269bb5Schristosas part of the DARPA CHATS research program. 528fa0fefeSchristos.Pp 538fa0fefeSchristosThe OpenPAM library is maintained by 544cb4af11Schristos.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no . 55