RSA Product/Service Type: Authentication Agent for PAM
The RSA MFA Agent 9.0 for PAM - Installation and Configuration Guide for Oracle Linux RHEL Ubuntu CentOS and Rocky Linux instructs administrators to comment all auth modules in the protected service and keep pam_securid.so as the only available auth module. This is shown in the example below:
#%PAM-1.0 auth required pam_securid.so #auth required pam_sepermit.so #auth substack password-auth #auth include postlogin
That is acceptable if the environment is dealing with internal Linux users, as pam_securid.so can handle both SecurID authentication and Linux authentication. However, when it gets to Active Directory users, pam_securid.so cannot handle Active Directory authentication.
This configuration authenticates the SecurID passcode first then the AD password for challenged users and only the AD password for unchallenged users. In this example, assume that AD integration is using WinBind.
- In /etc/sd_pam.conf, change both PAM_IGNORE_SUPPORT_FOR_USERS and PAM_IGNORE_SUPPORT to 1, as shown in bold:
#PAM_IGNORE_SUPPORT_FOR_USERS # :: 1 to return PAM_IGNORE if a user is not SecurID authenticated due to user exclusion support # :: 0 to UNIX authenticate a user that is not SecurID authenticated due to user exclusion support # default value is 0 PAM_IGNORE_SUPPORT_FOR_USERS=1 #PAM_IGNORE_SUPPORT # :: 1 to return PAM_IGNORE if a user is not SecurID authenticated due to their group membership # :: 0 to UNIX authenticate a user that is not SecurID authenticated due to their group membership # default value is 0 PAM_IGNORE_SUPPORT=1
- In the protected module (for example, sshd /etc/pam.d/sshd), change the auth config to be as follows.
auth required pam_securid.so not_set_pass auth required pam_windbind.so #auth required pam_sepermit.so #auth substack password-auth #auth include postlogin
auth [success=done ignore=ignore default=die] pam_securid.so not_set_pass auth required pam_windbind.so #auth required pam_sepermit.so #auth substack password-auth #auth include postlogin
Related Articles
Unable to authenticate with Authentication Agent for PAM for SSH due to SELinux 202Number of Views RSA PAM Authentication Agent cannot challenge users in Active Directory groups 268Number of Views How to authenticate to an RSA Authentication Agent for Windows as user@domain.com with NTLM to UPN name mapping 510Number of Views Allow Users to Authenticate on an Agent 23Number of Views Users cannot authenticate with login name in domain\sAMAccountName format using MFA Agent 2.0.1 78Number of Views
Trending Articles
Downloading RSA Authentication Manager license files or RSA Software token seed records RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory Mandatory Certificate Upgrade Required by 6th October 2025 for RSA MFA Agent for PAM, RSA MFA Agent for Apache, and Third … RSA Authentication Manager 8.9 Release Notes (January 2026)