]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/openpam/doc/man/pam_putenv.3
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / openpam / doc / man / pam_putenv.3
1 .\" Generated from pam_putenv.c by gendoc.pl
2 .\" $Id: pam_putenv.c 648 2013-03-05 17:54:27Z des $
3 .Dd September 12, 2014
4 .Dt PAM_PUTENV 3
5 .Os
6 .Sh NAME
7 .Nm pam_putenv
8 .Nd set the value of an environment variable
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_putenv "pam_handle_t *pamh" "const char *namevalue"
16 .Sh DESCRIPTION
17 The
18 .Fn pam_putenv
19 function sets an environment variable.
20 Its semantics are similar to those of
21 .Xr putenv 3 ,
22 but it modifies the PAM
23 context's environment list instead of the application's.
24 .Pp
25 .Sh RETURN VALUES
26 The
27 .Fn pam_putenv
28 function returns one of the following values:
29 .Bl -tag -width 18n
30 .It Bq Er PAM_BUF_ERR
31 Memory buffer error.
32 .It Bq Er PAM_SYSTEM_ERR
33 System error.
34 .El
35 .Sh SEE ALSO
36 .Xr pam 3 ,
37 .Xr pam_getenv 3 ,
38 .Xr pam_getenvlist 3 ,
39 .Xr pam_setenv 3 ,
40 .Xr pam_strerror 3 ,
41 .Xr putenv 3
42 .Sh STANDARDS
43 .Rs
44 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
45 .%D "June 1997"
46 .Re
47 .Sh AUTHORS
48 The
49 .Fn pam_putenv
50 function and this manual page were
51 developed for the
52 .Fx
53 Project by ThinkSec AS and Network Associates Laboratories, the
54 Security Research Division of Network Associates, Inc.\& under
55 DARPA/SPAWAR contract N66001-01-C-8035
56 .Pq Dq CBOSS ,
57 as part of the DARPA CHATS research program.
58 .Pp
59 The OpenPAM library is maintained by
60 .An Dag-Erling Sm\(/orgrav Aq des@des.no .