Idira Identity: How to configure Idira MFA for Linux RADIUS client

Idira Identity: How to configure Idira MFA for Linux RADIUS client

103
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:01 PM


Objective


This article will walk through the steps for configuring Idira MFA for Linux RADIUS PAM client on Ubuntu 22.04 LTS. Instructions may vary on other Linux flavors and versions.

Environment


21.1;21.2;21.3;21.4;21.5;21.6;21.7;21.8;21.9;21.10;21.11;21.12;22.1;22.2;22.3;22.4;22.5;22.6;22.8;22.9;22.10;22.11 Identity Connector

Procedure


Configurations on Ubuntu

  1. Install the required packages to enable the Radius authentication
  • apt-get update
  • apt-get install libpam-radius-auth freeradius-utils
  1. Edit the configuration file named pam_radius_auth.conf to add the connector IP, radius secret and the timeout
  • Sudo nano /etc/pam_radius_auth.conf
  • 10.0.128.103 is the IP of the connector.

NB : For proper security, this file SHOULD have permissions 0600, that is readable by root, and NO ONE else.  If anyone other than root can read this file, then they can   spoof responses from the server!
  1. Create a local account to the Radius user. In order to authenticate using Radius the user must have a local account.
  • adduser ubuntu02 --disabled-password --quiet --gecos ""
  1. Edit the /etc/pam.d/common-auth to add radius as an authentication module
  • Sudo nano /etc/pam.d/common-auth
  1. Update the pam auth module
  • sudo pam-auth-update
  • Check Radius Authentication
  • Click OK

Configurations on CyberArk Identity

Prerequisite:

Install the CyberArk Identity Connector in the network that can be reached by the Linux devices.
 
  1. Make sure your user has been configured with the desired multifactor-authentication option(s).
  1. Optionally, create a Role and add your users, if you only want to apply the RADIUS settings to a subset of users.
  1. Optionally create a new policy and assign to the Role. 
  2. Enable RADIUS authentication.



Create an authentication profile with password as Challenge 1 and non-password options as Challenge 2.


 
  1. Add ubuntu client to the radius configuration


We need to use the same secret as the one in the /etc/pam_radius_auth.conf


On the Response part, choose if the user will respond manually by entering the code or using a push.
In the configuration below, we are choosing a push sms and entering the code for email:

 

Results:

Video demo


sudo with CyberArk MFA
image.png

 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001DmXCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail