HOW CAN THE AIX SYSTEM ADMINISTRATOR SEE

ITEM: RTA000035669



QUESTION:                                                                       
My customer has asked if there is a way to "spool                               
the console" dialogue to a file.                                                
He is looking for the equivalent CMS "spool console" capability. SMIT           
provides this audit trail via the smit.log file. Is there any way to do         
the same with the console session?                                              
                                                                                
His second question is very similar. Is it possible for the AIX Sys             
Administrator to see what one of his users is typing when they report a         
problem? He mentioned this capability in a DEC product called "spy". Is         
there an obvious way to do this with basic AIX functionallity, or are           
there any third party products that you are aware of that would provide         
this functionality?                                                             
                                                                                
---------- ---------- ---------- --------- ---------- ----------               
A: You can send a copy of the console dialog to a file by using the             
   following command:                                                           
                                                                                
      ksh -iv 2>&1  tee /tmp/console.log                                  
                                                                                
   This command will need to be run at the console before console               
   messages will be saved.  All user input, and command output will             
   be saved to the file '/tmp/console.log'                                      
                                                                                
   If the administrator would like to monitor the input of another user,        
   she could have the customer issue a similar command.  For example the        
   user could issue the following command:                                      
                                                                                
      ksh -iv 2>&1  tee /tmp/user.log                                     
                                                                               
   The system administrator could then open a new window and issue the          
   following command:                                                           
                                                                                
      tail -f /tmp/user.log                                                     
                                                                                
   This will cause all of the user's commands and their corresponding           
   results to be displayed in the system administrator's new window.            
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q645616      CMMVS                      
                                                                                
Additional search words:                                                        
ADMINISTRATO AIX ALTERNATE CMMVS EVERYTHING HIS INDEX IX MANAGEMENT            
NOV93 OP OZIBM RISCMGMT RISCSYSTEM SOFTWARE SYS SYSTEM TERM TERMINAL            
TYPES USER USERS                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000035669 ITEM: RTA000035669
Dated: 03/1996 Category: RISCMGMT
This HTML file was generated 99/06/24~12:43:13
Comments or suggestions? Contact us