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