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:
- [root@111 ~]# chkconfig --list|greptelnet
-
- ekrb5-telnet: off
-
- krb5-telnet: off
-
- [root@111 ~]#
Note that the check result is disabled.
2. Open the telnet service:
- [root@111 ~]# chkconfig krb5-telneton
-
- [root@111 ~]# chkconfig --list|greptelnet
-
- ekrb5-telnet: offv
-
- krb5-telnet: on
-
- [root@111 ~]#
Check that it has been enabled
3. Modify the login file securetty to add the terminal points to be logged on.
- [root@111 ~]# vi /etc/securetty
Add the following lines:
- pts/1
-
- pts/2
-
- pts/3
-
- pts/4
-
- pts/5
-
- ……
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!