Configure the telnet service for ubuntu

Source: Internet
Author: User
Configure telnet service for ubuntu 1. install xinetd and telnetd $ sudoapt-getinstallxinetdtelnetd2, configuration file www.2cto. comA. /Etc/inetd. conf $ cat/etc/inetd. conf (not required if it exists) display telnet...
Configure the telnet service for ubuntu 1. install xinetd and telnetd $ sudo apt-get install xinetd telnetd2 and the configuration file www.2cto.com. /Etc/inetd. conf $ cat/etc/inetd. conf (not required if needed) displays telnet stream tcp nowait telnetd/usr/sbin/tcpd/usr/sbin/in. telnetd B. modify/etc/xinetd. conf $ sudo gedit/etc/xinetd. conf # Simple configuration file for xinetd # Some ULTS ults, and include/etc/xinetd. d/defaults {# Please note that you need a log_type line to be able to use log_on_success # and log_on_failure. the default is the following: # log_type = SYSLOG daemon info (inserted in red) instances = 60log_type = SYSLOG authprivlog_on_success = HOST PIDlog_on_failure = HOSTcps = 25 30} includedir/etc/xinetd. d C. Modify/etc/xinetd. d/telnet $ sudo gedit/etc/xinetd. d/telnet and add The following content: www.2cto.com # default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet {disable = noflags = REUSEsocket_type = streamwait = nouser = rootserver =/usr/sbin/in. telnetdlog_on_failure + = USERID} 5. restart the machine or restart the network service $ sudo/etc/init. d/xinetd restart6. remotely log on using the TELNET client; ifconfig-a displays the local address; author: Sherry
Related Article

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.