EPM MacOS Prepare Activation Command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Endpoint Privilege Manager (EPM) Articles
2 min read
L0 Member
No ratings

Starting with EPM Agent 25.6 Idira is providing a tool to build a post-install activation script.

Steps

  • Downloaded the Agent Install Package to a Mac and unzip it
  • Open terminal and navigate to the location where you extracted the install package.  This file may not be executable.  If needed, run this command to make it executable

sudo chmod +x prepare_activation.command

ka3Vy000009IFyyIAG__eid=ka3Vy000009IFyy&feoid=00N2J000009R3kv&refid=0EMVy00000RBqGi.png

  • Before launching ./prepare_activation.command ensure that the .config file is in the same folder
  • Try to launch  ./prepare_activation.command
  • If you see a message like this...

ka3Vy000009IFyyIAG__eid=ka3Vy000009IFyy&feoid=00N2J000009R3kv&refid=0EMVy00000RCosj.png

...then you will need to allow it to run.  Go to system settings > Privacy and Security.  Look in the "Security" section.  If you see "Prepare_activation.command was blocked to protect your Mac" then click "Open Anyway"

 

ka3Vy000009IFyyIAG__eid=ka3Vy000009IFyy&feoid=00N2J000009R3kv&refid=0EMVy00000RCGXj.png

Try to launch again using ./prepare_activation.command

 

  • Example of successful generation

ka3Vy000009IFyyIAG__eid=ka3Vy000009IFyy&feoid=00N2J000009R3kv&refid=0EMVy00000RCOrr.png

 

  • Use finder to browse to the extracted install folder. You should now see a new file named "epm_activation.sh".  Open that using textedit

ka3Vy000009IFyyIAG__eid=ka3Vy000009IFyy&feoid=00N2J000009R3kv&refid=0EMVy00000RCXiE.png

  • Find where the DEFAULT_INSTALLATION_KEY is set to "" (shown below).  Paste your installation key in between those quotes

ka3Vy000009IFyyIAG__eid=ka3Vy000009IFyy&feoid=00N2J000009R3kv&refid=0EMVy00000RBgfW.png

  • Optional: If you intend to specify an admin username during the activation, enter the credentials in between the quotes for DEFAULT_ADMIN_USER and DEFAULT_ADMIN_PASSWORD as shown below. 

This is needed to enable credential rotation.  More info about this option:

https://docs.cyberark.com/epm/latest/en/content/installation/macos-installagents.htm?Highlight=prepa...

ka3Vy000009IFyyIAG__eid=ka3Vy000009IFyy&feoid=00N2J000009R3kv&refid=0EMVy00000RCmm6.png

  • Save epm_activation.sh
  • Deploy this script after pkg installation to activate EPM
Rate this article:
  • 1071 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎11-05-2026 11:49 AM
Updated by: