1 .\" Generated from pam_putenv.c by gendoc.pl
2 .\" $Id: pam_putenv.c 648 2013-03-05 17:54:27Z des $
8 .Nd set the value of an environment variable
13 .In security/pam_appl.h
15 .Fn pam_putenv "pam_handle_t *pamh" "const char *namevalue"
19 function sets an environment variable.
20 Its semantics are similar to those of
22 but it modifies the PAM
23 context's environment list instead of the application's.
28 function returns one of the following values:
32 .It Bq Er PAM_SYSTEM_ERR
38 .Xr pam_getenvlist 3 ,
44 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
50 function and this manual page were
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
57 as part of the DARPA CHATS research program.
59 The OpenPAM library is maintained by
60 .An Dag-Erling Sm\(/orgrav Aq des@des.no .