Scripts to Be Executed at Logout Event

Smith Jack (Ext. - UGIS - UniCredit Group) jack.smith.extern at unicreditgroup.de
Fri May 15 12:59:25 UTC 2009


>Hi,
>
>
>
>I want to execute a certain script whenever a user logs out. I have tried .bash_logout file and it serves the purpose but then I have to modify each user's .bash_logout file. So, is there any way to do this on a system-wide level just as we can have scripts run at system start-up event by specifying them in the file /etc/profile?
>
>
>With regards,     Devarishi Kumar Mahadeva  System Analyst (Data Center Operations)  HCL Comnet, Noida (India).  Mobile >No.: +91 - 9999675198   

the 'Standard' file is /etc/bash.bash_logout - but this is configurable

BTW, did you google  http://www.google.com/search?hl=en&q=.bash_logout+global&btnG=Search







More information about the redhat-list mailing list