{"id":384,"date":"2009-05-28T13:40:51","date_gmt":"2009-05-28T18:40:51","guid":{"rendered":"http:\/\/www.gamescheat.ca\/?p=384"},"modified":"2019-09-04T19:57:40","modified_gmt":"2019-09-05T00:57:40","slug":"how-to-install-and-initialize-telnet-on-redhat-enterprise-linux-or-fedora-core-linux","status":"publish","type":"post","link":"http:\/\/www.gamescheat.ca\/?p=384","title":{"rendered":"How to install and initialize telnet on Red Hat Enterprise Linux or Fedora Core Linux."},"content":{"rendered":"<p>Telnet is a very old communication protocol, it is not secure because the password authentication is transmitted in <\/p>\n<p>clear text.  SSH is a secure protocol and is the replacement for telnet.  Red Hat recommends that you use SSH to <\/p>\n<p>connect to the server, which is why Telnet is disabled by default. This is why the administrator account root is <\/p>\n<div style=\"float: right;\"><div style=\"margin: 15px 15px 15px 15px\";><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-3319935785736004\";\ngoogle_alternate_color = \"FFFFFF\";\ngoogle_ad_width = 336;\ngoogle_ad_height = 280;\ngoogle_ad_format = \"336x280_as\";\ngoogle_ad_type = \"text_image\";\ngoogle_ad_channel =\"\";\ngoogle_color_border = \"cccccc\";\ngoogle_color_link = \"cc0000\";\ngoogle_color_bg = \"ffffff\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"008000\";\n\/\/--><\/script>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/div><\/div><p>not allowed to connect using Telnet by default.  However you can also allow the root account to connect via telnet <\/p>\n<p>by editing a file, it is recommended that you use su to logon as root.<\/p>\n<p>Check to see if the correct telnet-server and telnet RPMs installed:<\/p>\n<p># rpm -qa | grep telnet<br \/>\ntelnet-server-0.17-39.el5<br \/>\ntelnet-0.17-39.el5<\/p>\n<p>If the telnet-server or telnet packages is not installed, then it can be installed with the RPMs available on the <\/p>\n<p>installation media or use the up2date utility along with your RHN subscription to download and install the <\/p>\n<p>package(s). For example:<\/p>\n<p># up2date telnet-server telnet  <\/p>\n<p>You can also download the telnet rpm from website other than redhat and then use the command rpm -i <\/p>\n<p>telnet-0.17-017-39.el5.rpm to install.<\/p>\n<p>Once you have the telnet package is installed, edit the \/etc\/xinetd.d\/telnet file and change the disable = yes to <\/p>\n<p>read disable = no. See the example below.<\/p>\n<p>{<br \/>\nflags = REUSE<br \/>\nsocket_type = stream<\/p>\n<p>wait = no<br \/>\nuser = root<br \/>\nserver = \/usr\/sbin\/in.telnetd<br \/>\nlog_on_failure += USERID<br \/>\ndisable = no<br \/>\n}  <\/p>\n<p>Turn the Telnet server on using the chkconfig command and then make the service available for immediate use with <\/p>\n<p>the service command. You will need to restart the xinetd service.  If xinetd is not already started then the <\/p>\n<p>restart command will start it.<\/p>\n<p># chkconfig telnet on<br \/>\n# chkconfig xinetd on<br \/>\n# chkconfig \u2013list telnet<br \/>\ntelnet on<br \/>\n# service xinetd restart<br \/>\nStopping xinetd: [ OK ]<br \/>\nStarting xinetd: [ OK ]  <\/p>\n<p>The chkconfig command will make the Telnet server available to start the next time the system is rebooted, it will <\/p>\n<p>also start the xinetd service.  Telnet is part of the xinetd service.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Telnet is a very old communication protocol, it is not secure because the password authentication is transmitted in clear text. SSH is a secure protocol and is the replacement for telnet. Red Hat recommends that you use SSH to connect&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/www.gamescheat.ca\/?p=384\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[43,55,35],"_links":{"self":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/384"}],"collection":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=384"}],"version-history":[{"count":3,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/384\/revisions"}],"predecessor-version":[{"id":998,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=\/wp\/v2\/posts\/384\/revisions\/998"}],"wp:attachment":[{"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gamescheat.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}