INTERNAL ONLY: RHEL 6 with SecurID PAM 7.0 agent throws error 'cannot enable executable stack as shared object requires: Permission denied'
Originally Published: 2011-09-27
Article Number
Issue
If you tail /var/log/secure with pam in debug mode, the following errors show up:
Sep 27 15:40:07 fog sshd[14354]: error: PAM: Module is unknown for testuser
Sep 27 15:40:07 fog sshd[14354]: Connection closed by 192.168.131.196
Sep 27 15:59:33 fog sshd[14459]: PAM unable to dlopen(/lib64/security/pam_securid.so): /lib64/security/pam_securid.so: cannot enable executable stack as shared object requires: Permission denied
Sep 27 15:59:33 fog sshd[14459]: PAM adding faulty module: /lib64/security/pam_securid.so
Sep 27 15:59:33 fog sshd[14459]: error: PAM: Module is unknown for testuer from ssh.myhost.com
Sep 27 15:59:33 fog sshd[14459]: Connection closed by 192.168.131.196
Sep 27 16:02:57 fog sshd[14498]: PAM unable to dlopen(/lib64/security/pam_securid.so): /lib64/security/pam_securid.so: cannot enable executable stack as shared object requires: Permission denied
Sep 27 16:02:57 fog sshd[14498]: PAM adding faulty module: /lib64/security/pam_securid.so
Sep 27 16:02:57 fog sshd[14498]: error: PAM: Module is unknown for testuer from ssh.myhost.com
Sep 27 16:02:57 fog sshd[14498]: Connection closed by 192.168.131.196
Cause
Resolution
1. cd /etc/selinux
2. edit config
3. add to the bottom of the file
setenforce 0
4. save the file
Additional information on SELinux is available in the manpage for SELinux
http://linuxcommand.org/man_pages/setenforce8.html
Until such time as the agent is officially qualified on whatever platform displays this error, this can be used as a workaround. There is no official support available for RHEL 6 at the time of this writing. This workaround has been observed as unnecessary on RHEL 4 or RHEL 5.
Related Articles
Red Hat Enterprise Linux (RHEL) debug options for RSA Authentication Agent 7.1 for PAM 148Number of Views A user was prompted with a collection when it was not expected. 12Number of Views RSA MFA Agent 9.0.1 for PAM - Installation and Configuration Guide for Oracle Linux RHEL Ubuntu CentOS and Rocky Linux 181Number of Views RSA MFA Agent 9.0 for PAM - Installation and Configuration Guide for Oracle Linux RHEL Ubuntu CentOS and Rocky Linux 872Number of Views RHEL SELinux mode causes failure to install Oracle Database in RSA Governance & Lifecycle 203Number of Views
Trending Articles
RSA Authentication Manager 8.9 Setup and Configuration Guide How to 'Trust' the RSA Authentication Manager Security Console Self-Signed Root CA certificate and prevent Cert warnings. RSA Authentication Manager 8.9 Release Notes (January 2026) Configure RSA Authentication Manager as a Secure Proxy Server for Cloud Access Service RSA Authentication Manager Upgrade Process
Don't see what you're looking for?