Why doesn't /etc/bash.bash_logout work in Red Hat Enterprise Linux?

Solution Verified - Updated -


  • Upstream BASH has a feature that allows you to create a global bash_logout file, named /etc/bash.bash_logout; however, this has been disabled in Red Hat Enterprise Linux. Why? When can it be enabled?


  • Red Hat Enterprise Linux 5
    • bash versions prior to bash-3.2-32.el5
  • Red Hat Enterprise Linux 6
    • bash versions prior to bash-4.1.2-14.el6

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