[ILUG-BOM] run script on SSH logout ??

Jemshad O K jemshad.ok@[EMAIL-PROTECTED]
Mon Jun 21 21:07:45 IST 2004


Hi Animesh,

On Monday 21 June 2004 8:32 pm, Animesh Singh wrote:
> Evening Jamshad,
>
> > > How about .bash_logout if the root's login shell
> >
> > is bash?
> >
> > > Amitay.
> > >
> > > On Mon, 2004-06-21 at 11:36, vaibhav samant wrote:
> > > > I need to run a script everytime there is a SSH
> >
> > logout of user
>
> <snip>
> Please refer to above question. It has to run the
> script while login out.

I just showed an example. You can just replace that `w | mail... ` part with 
your script may be followed by & also to put that in background.

Jemshad



More information about the Linuxers mailing list