Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After updating PAM secure log started showing:

su: PAM unable to dlopen(/lib64/security/ /lib64/security/ undefined symbol: selinux_check_access
su: PAM adding faulty module: /lib64/security/

Given the name of the file this seems like a serious concern, but I can't find any information about the error. I don't let anyone log onto this server so I'm not trying to protect against local users, but I still want PAM to work properly against anyone who has gained unauthorized access.

Edit: does exist and its permissions are the same as the other files under /lib64/security. Also su seems to work since I can still move from non-root users to root.

share|improve this question
up vote 3 down vote accepted

The key bit of the error is

undefined symbol: selinux_check_access

This symbol should be in /lib64/ You might want to check that file is present, readable and has a good checksum.

share|improve this answer
Thanks, the file does exist with proper permissions. I understand checksums, but what's a good way to find the correct checksum for that file? – JMC Aug 29 '14 at 15:12
I'll leave that for someone who knows centos... might also be worth checking the output of ldd /lib64/security/ to see what libraries it loads dynamically in case it's looking elsewhere. – Flup Aug 29 '14 at 15:13
You can yum provides /lib64/ to find the package providing this file then rpm -V <packagename> to verify the package. If SELinux is enabled, make sure it is not denying access to the file, etc. – Aaron Copley Aug 29 '14 at 16:35
@AaronCopley: Thanks, that's good information to get me started. – JMC Aug 29 '14 at 17:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.