shell namespace pollution with /etc/profile.d/kde.{csh,sh} in RHEL 7.

Solution In Progress - Updated -

Issue

  • Due to a change for RHEL7, the file /etc/profile.d/kde.sh and kde.csh are now leaving the shell variable libdir still set when passing control to the users' shell environments. The script should have an unset libdir line tacked on the end of it.

  • Also, the /etc/profile.d/kde.{csh,sh} files are packaged with execute permissions. This is unnecessary and inappropriate for sourced shell files. If you look at the other files under /etc/profile.d, you'll see all of them are mode 0644, not an extraneous 0755.

Environment

  • Red Hat Enterprise Linux (RHEL) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.