Enable the Telnet service for SUSE11

Source: Internet
Author: User

1. Basic Knowledge:
Linux provides services by running Daemon on the background. The daemon is used to open a Port and wait for the connection to enter. In C/S mode, if the customer requests a connection, the daemon creates a (Fork) sub-process to respond to the connection, and the parent process continues to listen to requests from other services. However, if every service provided by the system must run a daemon listening for a port connection, it usually means a waste of system resources. To this end, the "extended network Daemon service program" xinetd (Xinetd Internet Daemon) is introduced ). The Telnet service is also protected by xinetd.

2. Steps for enabling:
Step 1: Check whether the rpm package for telnet and telnet-server is installed. If not, install the package:

> Linux :~ /Desktop # rpm-qa telnet
> Telnet-1.2-134.22
Indicates that the telnet package has been installed (normally, the relnet package is automatically installed when the system is installed)
> Linux :~ /Desktop # rpm-qa telnet-server
>
Indicates no installation. You need to download the telnet-server *. i386.rpm package for installation.
> Rpm-ivh telnet-server *. i386.rpm
Step 2: Modify the telnet configuration file and set the disable attribute in the telnet file to no.
> Linux :~ /Desktop # vi/etc/xinetd. d // telnet
Service telnet
{
Socket_type = stream
Protocol = tcp
Wait = no
User = root
Server =/usr/sbin/in. telnetd
Disable = no
}
Step 3: restart the xinetd daemon:
> Linux :~ /Desktop # service xinetd restart
Step 4: Enable the telnet service:
> Linux :~ /Desktop # chkconfig telnet on
> Linux :~ /Desktop # chkconfig xinetd on


End

Recommended reading:

Enable Telnet in CentOS 6.3

RedHat 6.2 install the Telnet Service

Install and start Telnet in SUSE Linux

Virtual Machine RedHat communication and enabling Telnet login

How to Set Up Telnet, openSSH, and VNC remote servers in Linux

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.