Ekrb5-telnet command operations

Source: Internet
Author: User

We have explained a lot about telnet services. I don't know if you have some knowledge. Here we mainly discuss the command operation of the ekrb5-telnet. Hope through the following command, you can grasp some of the ekrb5-telnet settings.

1. Check whether your telnet service is enabled:

 
 
  1. [root@111 ~]# chkconfig --list|greptelnet  
  2.  
  3. ekrb5-telnet: off   
  4.  
  5. krb5-telnet: off   
  6.  
  7. [root@111 ~]#  

Note that the check result is disabled.

2. Open the telnet service:

 
 
  1. [root@111 ~]# chkconfig krb5-telneton   
  2.  
  3. [root@111 ~]# chkconfig --list|greptelnet  
  4.  
  5. ekrb5-telnet: offv   
  6.  
  7. krb5-telnet: on   
  8.  
  9. [root@111 ~]#  

Check that it has been enabled

3. Modify the login file securetty to add the terminal points to be logged on.

 
 
  1. [root@111 ~]# vi /etc/securetty  

Add the following lines:

 
 
  1. pts/1   
  2.  
  3. pts/2   
  4.  
  5. pts/3   
  6.  
  7. pts/4   
  8.  
  9. pts/5   
  10.  
  11. ……  

Save and exit.

For chkconfig krb5-telneton

Will prompt Unencrypted connection refused. goodbye. connection closed by foreign host. the error message indicates that the encrypted connection is denied. After checking the configuration file, no encryption options are found, and the configuration file is correct, so I searched for a large circle on google and finally found a solution written by a foreigner:

I really needed a bit of guidance and you provide it. /sbin/chkconfig -- list | grep telnetThe above command told me I had both krb5-telnetand ekrb5-telnet, andalso the installedtelnetall on. initially I did not know what theywere all. after turning them on and off and testing my telnetconnection from another box I realized that "ekrb5-telnet" was theencryptedtelnetserver that I needed to turn off to run "krb-telnet" which allowed non-encryptedtelnetconnections.eg/sbin/ chkconfig ekrb5-telnetoffThanks for your help.

The original ekrb5-telnet is a telnet service that needs to be encrypted, of course, encryption is needed to start this service. Solution: Change the disable in/etc/xinetd. d/ekrb5-telnet to = yes, and then restart the xinetd service xinetd restart to OK!

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.