cancel
Showing results for 
Search instead for 
Did you mean: 

Telnet logging

Clive Lau
Occasional Advisor

Telnet logging

How can I config the telnetd or other programe to record all the activities
that someone typed into the telnet client session? So that I can playback what did the user done before.
3 REPLIES
Ron Kinner
Honored Contributor

Re: Telnet logging

in.telnetd has a debug mode which may do what you want:

in.telnetd -D netdata

http://www.linuxvalley.it/encyclopedia/ldp/manpage/man8/in.telnetd.8.php

Ron



Clive Lau
Occasional Advisor

Re: Telnet logging

Hi Ron,

Seems that "in.telnetd -D netdata" can capture those information. But when I set the option "-D netdata" to the "telnet" inside the /etc/xinetd.d/, after reboot it, the telnet seem cannot be started. Why ??
Also, where is the captured information be stored?

Thanks,

CL
I_M
Honored Contributor

Re: Telnet logging

Hi

how did you add -D option int the config file?

On my RH7.1, I added
server_args = -D netdata
just one line after server = /usr/sbin/in.telnetd

After I restarted xinetd, still I could telnet to the RH7.1.

But what I see the result of -D option, I don't think this is what you are looking for..
Just try.

Good Luck