[CentOS] TELNENT TO LOCALHOST IN CENTOS 7

Mon Nov 24 20:59:54 UTC 2014
John R Pierce <pierce at hogranch.com>

On 11/24/2014 6:38 AM, Mauricio Tavares wrote:
>        I will not go over the question about running telnet in your
> laptop; others will chime in. Now that is out, did you check whether
> telnet is running using ps and netstat?

useless advise, since telnet is almost always run from a socket, the 
telnetd is only running if there's an active connection.

to the OP, the *correct* answer is, do not use or touch xinetd, and if 
you modified anything in xinetd, undo it.   heck, uniinstall xinetd, 
nothing in RHEL7/CentOS7 uses xinetd anymore.

    root# systemctl enable telnet.socket
    root# systemctl start telnet.socket

the first command enables it so its available when the system is rebooted.

the 2nd command starts it now.


now, I will have to concur, the telnet protocol should be banned, and 
anything using it should be updated to use ssh instead.   I haven't 
enabled telnetd on any unix/linux host for the last 10+ years.




-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast