Re: IRIX On Logout script



Dan wrote:
Hello,

I am running IRIX 6.5 and would like to be able to run a script to kill
some processes every time a user logs out. Is this possible? I tried
adding to .bash_profile but that didn't work.

The .bash_profile file is only read at log in time. You said you wanted it run at logout, so the correct file is .bash_logout. (See the bash man page for further information.)

But the default shell on IRIX is csh not bash! Are you sure the users in question are actually using bash?
.



Relevant Pages

  • Re: IRIX On Logout script
    ... I am running IRIX 6.5 and would like to be able to run a script to kill ... some processes every time a user logs out. ... so the correct file is .bash_logout. ... But the default shell on IRIX is csh not bash! ...
    (comp.sys.sgi.misc)
  • RE: Strange logon problem, takes minutes to logon to Windows XP SP
    ... "Bash" wrote: ... I forgot to mention that if these machines boot without a ... re-create the user profiles that have the delay. ... computer boots and the user logs on and it just sits there applying the ...
    (microsoft.public.windowsxp.network_web)
  • Re: Environment variables
    ... > modify to make sure it gets loaded when any user logs on ... This should work for BASH; if folk use a different shell, ...
    (linux.redhat)
  • Parsing a script whenever a user logs in
    ... I need to parse a script in bash as follows ... whenever a user logs in. ... Solaris 8? ... We use bash and tcsh. ...
    (SunManagers)