Linux Turn on Telnet service

Source: Internet
Author: User
Tags syslog

Steps:

      • sudo apt-get install xinetd telnetd after successful installation, the system will display a corresponding prompt
      • sudo vim/etc/inetd.conf and adding content: Telnet stream tcp nowait telnetd/usr/sbin/tcpd/usr/sbin/in.telnetd
      • Enter sudo vim/etc/xinetd.conf and add content:
 # Simple configuration file  for< /span> xinetd# Some defaults, and include /etc/xinetd.d/    defaults {# Please note ' need a log_type line ' be able ' use log_on_success # and Log_on_failure. The default is the following: # log_type  = SYSLOG daemon info   instances  = 60   Log_type = SYSLOG authpriv log_on_success  = HOST PID Log_ On_failure  = HOST cps  = 25  30  } includedir /etc/xinetd.d 
      • sudo vim/etc/xinetd.d/telnet and add the following:
# default:on# description:the telnet Server serves Telnet sessions; it uses # unencrypted username  for Authentication.service telnet  {        = no    = reuse    = stream    Wait = no     = root    =/usr/sbin/in. telnetd    + = USERID  }
  • Restart the machine or restart the network service sudo/etc/init.d/xinetd restart
  • telnet localhost 23 test

Linux Turn on Telnet service

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.