LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2003, 10:05 AM   #1
deadCenter
LQ Newbie
 
Registered: Apr 2003
Location: India
Posts: 9

Rep: Reputation: 0
Telnet command execution history


I would like to know how I can review the commands executed by a user who has connected to my system via Telnet.

Thanks in advance.
 
Old 05-13-2003, 10:51 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Just view their .bash_history file if that is the shell their using.

On a side note, you should be using ssh instead of telnet, telnet is very insecure. Just a thought.
 
Old 05-13-2003, 02:18 PM   #3
deadCenter
LQ Newbie
 
Registered: Apr 2003
Location: India
Posts: 9

Original Poster
Rep: Reputation: 0
suppose the user is not physically located nearby for me to check his .bash_history, then how do i go about checking the commands he executed on my machine? If I use ssh also, how can I find out what all commands he executed in on my machine?
 
Old 05-13-2003, 02:31 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by deadCenter
suppose the user is not physically located nearby for me to check his .bash_history, then how do i go about checking the commands he executed on my machine? If I use ssh also, how can I find out what all commands he executed in on my machine?
AFAIK it should still be logged in the .bash_history file. If they are using a valid bash shell thru telnet, ssh, etc, and .bash_history is enabled in which I do believe Redhat is default with it enabled, then it's all being logged there, like I mentioned before.
 
  


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
command execution time minil Programming 10 08-20-2010 05:59 PM
can I check the execution of this command? kushalkoolwal Programming 1 10-21-2005 09:44 PM
telnet up-arrow command history eastsuse Linux - Newbie 8 12-04-2004 10:18 AM
Automatic execution of a command after login openart Linux - Newbie 5 10-29-2004 02:44 AM
command execution leonidas Linux - General 1 09-22-2004 01:29 AM


All times are GMT -5. The time now is 10:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration