The pam module pam_exec.so does not export environment variables in Red Hat Enterprise Linux 5

Solution Verified - Updated -

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content