The 64-bit centos password is correct, but you cannot log on to the system.

Source: Internet
Author: User

 

Very strange ~ The server is in centos 64bit 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. At the moment you press enter, you can see that there is a line below the password with the prompt "module is unknown ". Why.

Solution:

Press a under grub to enter append mode, and enter single press enter at the end to enter but user mode.

Restart the computer to enter the single user mode
VI/etc/PAM. d/login
Set the following lines:
Session required/lib/security/pam_limits.so
Replace:
Session required/lib64/security/pam_limits.so
Restart and troubleshoot.

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.