Does RSA PAM Agent support SELinux?
Originally Published: 2008-12-12
Article Number
Applies To
Redhat
SELinux Security Enhanced Linux
Support for SELinux
Issue
What can I configure with SELinux?
acetest authentication works
Authentication via SSH or other method fails with RSA
Resolution
Contact RSA Support to Request an Enhancement to the PAM agent if you need full support for SELinux
Red Hat Linux (all supported versions):
1. Change to /etc/pam.d and open the login file.
The following text is displayed:
#%PAM-1.0
auth required pam_securetty.so
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
RSA Authentication Agent 6.0 for PAM Installation and Configuration Guide
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_stack.so service=system-auth
session required pam_loginuid.so
session optional pam_console.so
# pam_selinux.so open should be the last session rule
session required pam_selinux.so open
2. Comment out the following lines:
auth required pam_securetty.so
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
3. Replace them with the following lines:
auth required pam_securid.so
auth required pam_ldap.so
Notes
Enhancement Request ID: AAPAM-370
Related Articles
RSA MFA Agent 9.0.1 for PAM - Installation and Configuration Guide for Oracle Linux RHEL Ubuntu CentOS and Rocky Linux 148Number of Views Manually generate a node secret for RSA Authentication Agent for PAM 365Number of Views Configuring RSA Authentication Agent 7.1 for PAM on SELinux 408Number of Views RSA MFA Agent 9.0 for PAM - Installation and Configuration Guide for Oracle Linux RHEL Ubuntu CentOS and Rocky Linux 792Number of Views Red Hat Enterprise Linux (RHEL) debug options for RSA Authentication Agent 7.1 for PAM 139Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA MFA Agent 2.4 for Microsoft Windows Installation and Administration Guide RSA Release Notes for RSA Authentication Manager 8.8 Downloading RSA Authentication Manager license files or RSA Software token seed records RSA Authentication Manager 8.9 Release Notes (January 2026)
Don't see what you're looking for?