If you enter the correct account and password for 64-bit Centos, you cannot log on to the system.

Source: Internet
Author: User

Very strange ~ CentOSx86_64: init 3 mode
You can log on remotely through SSH, but the monitor cannot directly connect to the keyboard.
Entering the correct account and password on the logon page will return to the logon page again without any prompt,
If you enter an incorrect account or password, an error occurs.

Solution:
Restart the computer to enter the single user mode

 
  1. [Root @ chenghy ~] # Vi/etc/pam. d/login
  2. # Set the following lines:
  3. Session required/lib/security/pam_limits.so
  4. # Modify:
  5. Session required/lib64/security/pam_limits.so
Restart and troubleshoot. It seems that this phenomenon is only found on the x86_64 server.

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.