The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Finding The Number Of Programs That A Given User Running On A TERMINAL venkata.ganesh Shell Programming and Scripting 4 05-22-2007 03:23 AM
Tracing a user and logging his actions adel8483 SUN Solaris 2 03-28-2007 04:24 PM
Auditing User's actions Timberland HP-UX 3 01-28-2006 06:53 AM
Help with simple scripting actions Nads Shell Programming and Scripting 5 04-28-2005 08:42 PM
actions based on file type kristy Shell Programming and Scripting 1 11-19-2001 02:29 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-05-2002
Registered User
 

Join Date: Mar 2002
Posts: 10
see user's actions from another terminal

I would like to know if there is a way to see what a user is doing from another terminal.

I want to be able to see exactly what they see on their terminal.

Is that possible ?
Forum Sponsor
  #2  
Old 04-05-2002
Registered User
 

Join Date: Mar 2002
Posts: 10
Im running Red Hat Linux 6.2
  #3  
Old 04-06-2002
Registered User
 

Join Date: Mar 2002
Location: Buenos Aires, Argentina
Posts: 46
try the w command
  #4  
Old 04-08-2002
Registered User
 

Join Date: Feb 2002
Posts: 9
Try a 'tty' to see the terminal number.

Then cat /dev/tty0 > tty0.log

'cat tty0.log' or 'more tty0.log'

Or try 'cat ~user/.history' or 'more ~user/.history'.
  #5  
Old 04-08-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
The default shell in Redhat has been bash for as long as I've used it.
The history will be found in /home/username/.bash_history by default. One thing that bash does, though, is saves the command history in memory, not writing to the .bash_history file until the user ends that session.
Redhat (probably, other Linux variants have it as well) does have a few good monitoring utilities available, though. Check the man page on "ttysnoop", and man "vcs". You can get a screenshot of a terminal by simply using cat. For example:
cat /dev/vcs0 > /root/tty0_log
more /root/tty0_log
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0