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 Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Pseudo-terminal will not be allocated because stdin is not a terminal. Shivdatta UNIX for Advanced & Expert Users 1 08-04-2008 11:29 AM
tracing in linux shary Shell Programming and Scripting 2 02-04-2007 10:05 AM
tracing shary Linux 1 02-04-2007 06:33 AM
Tracing the GPU usage solea SUN Solaris 0 08-01-2005 03:40 AM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 03:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-03-2002
alex blanco alex blanco is offline
Registered User
  
 

Join Date: Jun 2001
Location: Mexico city
Posts: 36
Tracing a terminal

Hi you all, any of you know how to monitor what is going on in another terminal?
I mean if somebody will install an application on my server remotely and I want to "watch" what he is doing. I remember that some one use the "audit" command but now I just can't remember.

thanx.
  #2 (permalink)  
Old 04-04-2002
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
  
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
What Unix are you using? Some (Linux distributions specifically) come with a tool called ttysnoop, that mirrors their terminal session on another terminal you can log into. Other times (depending on the shell - this doesn't work in real time with the bash shell for example) you can simply tail -f /home/usrname/.sh_history...
If you just want to turn on auditing, knowing the Unix variant you're using is helpful, since different system log different ways.

Also, if you want a screendump of what the user is doing on the terminal (I think it only works on the /dev/tty* terminals) in Linux, look at the /dev/vcs* files. See man vcs for more info.
  #3 (permalink)  
Old 04-08-2002
alex blanco alex blanco is offline
Registered User
  
 

Join Date: Jun 2001
Location: Mexico city
Posts: 36
kind of UNIX

Well sorry I miss the UNIX kind.

Im using SOlaris 7

cheers
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0