RedHatEnterpriseLinux5telnet-Linux Enterprise Application-Linux server application information. I recently decided to learn LINUX well. Here is a Red Hat Enterprise Linux 5 telnet enabling process, which is helpful to netizens.
1. Check whether your telnet service is enabled:
[Root @ 111 ~] # Chkconfig -- list | grep telnet
Ekrb5-telnet: off
Krb5-telnet: off
[Root @ 111 ~] #
Note that the check result is disabled.
2. Open the telnet service:
[Root @ 111 ~] # Chkconfig krb5-telnet on
[Root @ 111 ~] # Chkconfig -- list | grep telnet
Ekrb5-telnet: off
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-telnet on
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 a large circle on google and finally found a solution written by a foreigner: I really needed a bit of guidance and you provided it. /sbin/chkconfig -- list | grep telnetThe above command told me I had both krb5-telnet and ekrb5-telnet, andalso the installed telnet all 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 theencrypted telnet server that I needed to turn off to run "krb-telnet" which allowed non- encrypted telnet connections. example/sbin/chkconfig ekrb5-telnet offThanks 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!
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