SSHD: Login failing with error " Error in service module"
Issue
- SSHD: Login is failing with below error.
Feb 23 20:25:59 server1 login: pam_limits(login:session): cannot read settings from /etc/security/limits.conf: No such file or directory
Feb 23 20:25:59 server1 login: pam_limits(login:session): error parsing the configuration file: '/etc/security/limits.conf'
Feb 23 20:25:59 server1 login: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Feb 23 20:25:59 server1 login: Error in service module
- Console login is failing due to above error.
Environment
- Red Hat Enterprise Linux 6
- 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
