Settings for remote Telnet access to centos 5

Source: Internet
Author: User

Enable telnet in centos 5

1. Install the required software

Check the Telnet package first

Telnet is installed by default. telnet-server must be installed later.
[Root @ Hsia ~] # Yum install telnet-Server
[Root @ Hsia ~] # Rpm-Qa | grep Telnet
Telnet-0.17-39.el5
Telnet-server-0.17-39.el5

2. Start Telnet.
Check the Telnet run level.
[Root @ Hsia ~] # Chkconfig -- list | grep Telnet
Ekrb5-telnet: Off
Krb5-telnet: Off
TELNET: Off

[Root @ Hsia ~] # Chkconfig telnet on

[Root @ Hsia ~] # Service xinetd restart


3. Login Attempt

 

Enable the Windows Telnet service for Logon


Normal user OK, root enter the correct password and an error message is displayed.
Centos release 5.6 (final)
Kernel 2.6.18-238. EL5 on an i686
Login: Root
Password:
Login incorrect

4. Solve the blocking conditions for root login in step 3.
Solution:

Modify the/etc/PAM. d/Remote Configuration File


Note out
# Auth required pam_securetty.so


Log On again with root. Successful.

Related Article

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.