[ILUG-BOM] Logging Start-up and Log-out commands for all users

Philip S Tellis philip.tellis@[EMAIL-PROTECTED]
Sat Sep 8 14:26:58 IST 2001


Sometime on Sep 7, Kinjal Sonpal assembled some asciibets to say:

> Is there any way to find out which files (scripts) and commands are
> executed after the user enters her password and before a user is

~/.bash_login and ~/.bashrc

Everything in here is executed when someone logs in.  This in turn may
execute /etc/login and other stuff.

> I also want to monitor similar things while the user logs out, i.e.
> , after the user enters exit and before another a login prompt

~/.bash_logout

Philip

-- 
The truth you speak has no past and no future.  It is, and that's all it
needs to be.


Visit my webpage at http://www.ncst.ernet.in/~philip/
Read my writings at http://www.ncst.ernet.in/~philip/writings/

  MSN  philiptellis                         Yahoo!  philiptellis
  AIM  philiptellis                         ICQ     129711328




More information about the Linuxers mailing list