Linuxsshtelnet login failure

Source: Internet
Author: User
You cannot log on to linuxsshtelnet-Linux Enterprise Application-Linux server application. For more information, see. After installing the Linux ssh and telnet services, you can log on to the local machine normally and cannot log on to other hosts. The/etc/pam is modified. d/login files cannot be logged on. In the end, if a problem occurs in the firewall, add the NIC of the Internet to the trusted area, such as eth0.

Appendix:

Telnet is not safe. By default, the root user is not allowed to use telnet to access the Linux host. To allow the root user to log on, use the following methods:

[Root @ wljs/root] # vi/etc/pam. d/login

# Auth required pam_securetty.so # Add comments to this line!

Or

[Root @ wljs root] # mv/etc/securetty. bak

In this way, the root user can directly access the Linux host. However, we recommend that you do not do this. You can also switch to the root user after a common user enters, with the root permission.

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.