User login on console is failing with "Login Incorrect" error

Solution Verified - Updated -

Issue

  • Users are unable to login via console but able to do ssh
  • When authentication fails, below error can be seen in /var/log/secure logs
PAM _pam_load_conf_file: unable to open /etc/pam.d/postlogin (2x)
  • Below message is displayed on the console, while trying to login.
Login Incorrect

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In