LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Telnet command execution history (https://www.linuxquestions.org/questions/linux-newbie-8/telnet-command-execution-history-59556/)

deadCenter 05-13-2003 09:05 AM

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.

trickykid 05-13-2003 09:51 AM

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.

deadCenter 05-13-2003 01:18 PM

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?

trickykid 05-13-2003 01:31 PM

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.


All times are GMT -5. The time now is 02:07 AM.