Linux Standard Base Core Specification, Generic Part | ||
---|---|---|
<<< Previous | Next >>> |
The pam_putenv() function shall modify the environment list associated with pamh. If name_value contains an '=' character, the characters to the left of the first '=' character represent the name, and the remaining characters after the '=' represent the value.
If the name environment variable exists in the environment associated with pamh, it shall be modified to have the value value. Otherwise, the name shall be added to the environment associated with pamh with the value value.
If there is no '=' character in name_value, the variable in the environment associated with pamh named name_value shall be deleted.
On success, the pam_putenv() function shall return PAM_SUCCESS. Otherwise the return value indicates the error:
<<< Previous | Home | Next >>> |
pam_open_session | Up | pam_set_item |