maillists at conactive.com
Wed Apr 1 16:31:24 UTC 2009
Paul A wrote on Wed, 1 Apr 2009 11:12:06 -0400:
> If I create a file ~/.bash_logout file it gets executed when the user logs
> out but when I create a system wide /etc/bash_logout it doesn't work.
> Not what the issue is since I couldn't find anything on that.
AFAIK, there is no basic mechanism that tells to read /etc/bash_whatever for
each user. For instance if you look in the default ~/.bashrc you will see
# Source global definitions
if [ -f /etc/bashrc ]; then
You have to do it the same way with bash_logout.
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
More information about the CentOS