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

Trevor Warren thefreeosguy@[EMAIL-PROTECTED]
Sat Sep 8 19:48:03 IST 2001


--- Kinjal Sonpal <kinjalsonpal at softhome.net> wrote:
> 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 presented with a Shell prompt?
[snip]
#  if [ this suits=u]
#    then 
     
     man ps...
     bash# ps eaxf | less
  
#    else
#     echo" try this..."  
      man lsof
#  fi

Trevor Warren
> 
> 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 appears.
> 
> TIA,
> 
> Warm Regards,
> $ sonpal -kj
> 
> 
> 
> _______________________________________________
> Next Online IRC LUG Meet on 31st Aug @ 4:30pm
> http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
> 


=====
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
( >- Trevor W - GNU/LINUX, It's all about CHOICE  -< )
/~\             trevor at freeos.com                  /~\
|  \)          *** !!! EnJoY !!! ***              (/ |
|_|_                                              _|_|
    Urgent --> Mail on 9820349221 at maxtouch.co.in            
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com



More information about the Linuxers mailing list