User login on console is failing with "Login Incorrect" error
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, tools, and much more.