DOKK / manpages / debian 11 / libpam0g-dev / pam_misc_paste_env.3.en
PAM_MISC_PASTE_ENV(3) Linux-PAM Manual PAM_MISC_PASTE_ENV(3)

pam_misc_paste_env - transcribing an environment to that of PAM

#include <security/pam_misc.h>

int pam_misc_paste_env(pam_handle_t *pamh, const char * const *user);

This function takes the supplied list of environment pointers and uploads its contents to the PAM environment. Success is indicated by PAM_SUCCESS.

pam_putenv(3), pam(7)

The pam_misc_paste_env function is part of the libpam_misc Library and not defined in any standard.

06/08/2020 Linux-PAM Manual