| pam_env(8) | System Manager's Manual | pam_env(8) |
pam_env — The
Environment PAM module
[service-name] function-class control-flag pam_env [options]
The Environment PAM module supports the authentication and session
management function classes. In terms of the
function-class parameter, these are
“auth” and
“session” respectively. The
Environment PAM module has identical support for both supported function
classes.
The Environment PAM module allows the setting and unsetting of environment variables. The use of previously set environment variables as well as PAM_ITEMs such as PAM_RHOST is supported.
This module can also parse a file with simple KEY=VAL pairs on
separate lines (/etc/environment by default). You can change the default
file to parse, with the envfile flag and turn it on
or off by setting the readenv flag to 1 or 0
respectively.
The following options may be passed to this module:
conffile=/path/to/pam_env.confdebugenvfile=/path/to/environmentreadenv=0|1The pam_env module was written by Dave
Kinchlea <kinch@kinch.ark.com>.
| February 7, 2009 | macOS 15.6 |