Scripts to Be Executed at Logout Event

Matias Nicolas matiasnicolas at live.co.uk
Fri May 15 13:32:05 UTC 2009


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
> 
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us


More information about the redhat-list mailing list