Variables set in /etc/environment not available after su -
Issue
- Variables set in /etc/environment not available after
su -
. - pam_env bypassed for root user when using
su
.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.