[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Run a Shell Script @ Logoff



On Mon, 2004-06-14 at 11:29, Eric Harrison wrote:
> 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...

Doh! Ignore me, please. Plus, GDM sessions aren't login shells, so they
don't run .bash_logout. I was doubly-wrong!

--
Dan Young
Parkrose School District



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]