The pam module pam_exec.so does not export environment variables in Red Hat Enterprise Linux 5
Issue
- The version of the pam_exec module in Red Hat Enterprise Linux 5 doesn't export environment variables like it does in Red Hat Enterprise Linux 6.
Environment
- Red Hat Enterprise Linux 5
- pam-0.99.6.2-6 or earlier
- custom /etc/pam.d/system-auth making use of pam_exec.so
- see this external blog post for an example use-case
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.