|Applies To||Pam Agent 6.0|
|Issue||Cannot restore segment prot after reloc: Permission denied|
PAM agent wont work when using SSHD. The following error is received:
Dec 23 11:20:20 pop sshd: PAM unable to dlopen(/lib/security/pam_securid.so)
Dec 23 11:20:20 pop sshd: PAM [error: /lib/security/pam_securid.so: cannot restore segment prot after reloc: Permission denied]
Dec 23 11:20:20 pop sshd: PAM adding faulty module: /lib/security/pam_securid.so
|Cause||This is caused by having the SeLinux enabled on the machine the PAM agent is installed on. SeLinux is active in newer Linux distributions and it changes some default system behavior including loading of shared libraries.|
To Resolve the issue, disable SeLinux. Follow the steps below:
Add the following line: SELINUX=disabled to the file /etc/sysconfig/selinux.
Restart the server.
|Legacy Article ID||a43893|