[K12OSN] Run a Shell Script @ Logoff

Eric Harrison eharrison at mail.mesd.k12.or.us
Mon Jun 14 18:29:54 UTC 2004


On Mon, 2004-06-14 at 10:42, Dan Young wrote:
> > Just a quick one this time....
> > as you have probably guessed from the subject, I would like to
> > run a Shell Script when the user logs off of the system...
> 
> Edit the user's ~/.bash_logout file. Create one if it's not present.
> 

bash_logout is executed every time a login shell is exited, as opposed
to a user logging out. That could really bite, depending on what was
executed...

I'll follow-up to the original post with an alternate method.

-Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/k12osn/attachments/20040614/f2af81fd/attachment.sig>


More information about the K12OSN mailing list