LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-10-2001, 11:24 AM   #1
faustus
LQ Newbie
 
Registered: May 2001
Posts: 4

Rep: Reputation: 0

I am root and I wish to see what a user sees. I want the users telnet session to be visible by root. Is this possible?
Thanks
 
Old 05-17-2001, 08:15 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Question telnetsnoopd

This is mentioned in my /etc/inetd.conf file, but I know nothing about it. Sounds like its your boy though.

telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
#
# Use this one instead if you want to snoop on telnet users (try to use this
# for ethical purposes, ok folks?), and see 'man ttysnoop' and /etc/snooptab
# for further instructions:
# telnet stream tcp nowait root /usr/sbin/tcpd in.telnetsnoopd

Cheers!

Jamie...
 
Old 05-23-2001, 11:22 AM   #3
#!
Member
 
Registered: May 2001
Distribution: RedHat, 'drake, suse, slack, gentoo, beehive, lfs...
Posts: 43

Rep: Reputation: 15
This all seems to assume a couple of things that seem kinda impractical, IMHO:

--- You are on the machine when the person telnets into it.
--- You are aware that there's anyone on the machine at a given time.

I'm sure there's a way to put a shell wrapper or alias using the 'tee' command or something that will allow you to pass the whole session to a log. The additional info above would also be a big help in doing this.

Somebody slicker than myself may have a bit more thorough expansion on how to do this. If so, please send me a link!!!
 
Old 05-23-2001, 12:10 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by #!
This all seems to assume a couple of things that seem kinda impractical, IMHO:

--- You are on the machine when the person telnets into it.
--- You are aware that there's anyone on the machine at a given time.

I'm sure there's a way to put a shell wrapper or alias using the 'tee' command or something that will allow you to pass the whole session to a log. The additional info above would also be a big help in doing this.

Somebody slicker than myself may have a bit more thorough expansion on how to do this. If so, please send me a link!!!
True, but the request was to be able to see what the user sees, not what the user has been doing... If this were the case I imagine you would be better off getting the programs that are run during the telnet session to do the logging, rather than trying to capture all output/input...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
view list of created users only ALInux Linux - General 5 11-10-2005 01:28 PM
how to View Current Logged In Users scialom Linux - Software 1 10-20-2004 10:13 AM
Can root view other users' passwords? lasindi Linux - Security 4 06-27-2004 06:29 AM
From an end users point of view, What is Solaris. Optyx Solaris / OpenSolaris 7 03-07-2004 03:41 PM
Cannot view list of users at this time. Wolverine Linux - Networking 6 10-20-2001 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration