Module is unknown and cannot login at the console
This document (7022033) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
SUSE Linux Enterprise Server 12
Situation
2017-10-06T10:27:01.754068-06:00 sles12sp3 login: PAM unable to dlopen(/lib/security/pam_limits.so): /lib/security/pam_limits.so: cannot open shared object file: No such file or directory
2017-10-06T10:27:01.754981-06:00 sles12sp3 login: PAM adding faulty module: /lib/security/pam_limits.so
2017-10-06T10:27:02.761812-06:00 sles12sp3 login: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
The /etc/pam.d/login file shows the following:
session required /lib/security/pam_limits.so
Resolution
session required /lib/security/pam_limits.so
to this:
session required pam_limits.so
Likewise, if the module name is incorrect, like pam_limit.so instead of pam_limits.so, the same error would occur.
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7022033
- Creation Date: 06-Oct-2017
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com