Thanks chris!

-----Original Message-----
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Christoph Neuhaus
Sent: Wednesday, April 01, 2009 11:35 AM
To: CentOS mailing list
Subject: Re: [CentOS] bash_logout

> Hi, I was searching for the system wide bash_logout and couldn't find any
> documentation on it.

There is no system wide bash_logout, according to the bash man page,  
CentOS 4.7.

Instead look at the way a system wide bashrc is included in ~/.bashrc:
   [ -f /etc/bashrc ] && . /etc/bashrc
You could do the same in ~/.bash_logout:
   [ -f /etc/bash_logout ] && . /etc/bashrc

If you want to include that line for every new user's ~/.bash_logout, add  
it to the file /etc/skel/.bash_logout, then create the user(s).

Chris
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.35/2034 - Release Date: 04/01/09
06:06:00

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to