Scripts to Be Executed at Logout Event

Marti, Rob RJM002 at shsu.edu
Fri May 15 13:33:53 UTC 2009


-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Matias Nicolas
Sent: Friday, May 15, 2009 8:32 AM
To: redhat-list at redhat.com
Subject: RE: Scripts to Be Executed at Logout Event


Hello, why dont u try with the nohup command?

> Date: Fri, 15 May 2009 14:59:25 +0200
> From: jack.smith.extern at unicreditgroup.de
> To: redhat-list at redhat.com
> Subject: RE: Scripts to Be Executed at Logout Event
> 
> 
> >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
> 

What does 'nohup' have to do with .bash_logout?




More information about the redhat-list mailing list