Telnet Service Linux Machine

Source: Internet
Author: User

Transfer from http://www.cnblogs.com/hyddd/archive/2009/09/19/1570214.html

I. Viewing the status of the Telnet service

Chkconfig--list|grep Telnet

two. If the machine has a Telnet service installed , after performing "Chkconfig--list|grep telnet", the system returns the status of the Telnet-related service.

The system displays the status of the current Telnet service, as shown in the shutdown state of the Telnet service. At this point, you can jump to step five.

three. If the machine does not have the Telnet service installed , after performing "Chkconfig--list|grep telnet", no results are returned, such as:

Four. Installing the Telnet service

If the machine has not yet installed the Telnet service, it needs to be installed first, the following process:

1. Query the Telnet service installation package.

Yum List |grep Telnet

2. Confirm that the package needs to be installed.

Here telnet.x86_64 represents the Telnet client, and telnet-server.x86_64 represents the Telnet server. To be able to telnet into this machine, we need to install the Telnet server.

3. Installing Telnet-server

4. After the service is installed, check the Telnet status "Chkconfig--list|grep telnet".

Five. Start the Telnet service

1. Turn on the service

Chkconfig krb5-telnet on

Note: No need to open ekrb5-telnet service, krb5-telnet can be turned on.

2. Activating the Service

Chkconfig krb5-telnet on

Six. Testing the Telnet service

1. Turn off the firewall.

2. Create the SYSTEM account.

Because Telnet is not very secure, the default is to not allow root to log on to the Linux host with Telnet. But this problem can also be solved:

Mv/etc/securetty/etc/securetty.bak

Note: This practice is not recommended.

3. Testing the Telnet service

telnet localhost

Telnet Service Linux Machine

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.