This document provides guidance on how to perform a batch installation of the EPM macOS Client, without MDM, using local commands that can be orchestrated by your preferred tool.
Before you begin
- Obtain the artifacts from the IT team:
- agent installer (
pkg), - configuration script (
configuration.tool), - configuration file (
.plist) containing the token.
- agent installer (
- Distribute the .pkg and the script to the target devices (via network share, automation tool, etc.).
Prerequisites
- macOS 14 or later.
- Segura 4.0 or later.
- Local administrator required for installation and configuration.
- No critical conflict with other EPM/EDR/AV based on ESF (create allowlist).
- Recommended hardware minimums: 4-core CPU, 8 GB RAM.
- HTTPS connectivity (443/TCP) to the EPM backend.
How to install the application (agent)
- Ensure the
.pkgfile is present on the machine. - Run the silent installation targeting the system volume:
sudo installer -pkg "/path/to/senhasegura.pkg" -target /
How to obtain the configuration token
- Download the token from the Segura® Platform, go to EPM > Management > Settings > Parameters > EPM macOS > Get Configuration File.
- This downloads a
.plistfile. - Locate the configuration
.plistfile. - Extract the value associated with the
SeguraConfigkey:
/usr/libexec/PlistBuddy -c 'Print SeguraConfig:' \
"/caminho/para/token.plist"InfoThe token is the value of the
SeguraConfigkey in the.plistfile. - Copy the returned value (the server configuration token).
How to apply the agent configuration
- Run the configuration script with the token:
sudo bash "/path/to/configuration.tool" --config token - Wait for confirmation and restart macOS if prompted.
Review
- Check the agent icon (menu bar) or processes in Activity Monitor.
- In the EPM console, confirm the device is Online and receiving policies.
- If necessary, manually grant in System Settings:
- Privacy & Security > Allow (System Extensions),
- General > Login Items (Background Items),
- Privacy & Security > Full Disk Access (Full Disk Access).
Important notes
- For fully silent execution, the user must have passwordless sudo (NOPASSWD) or the commands must run as root.
- The
.pkginstaller must be present on the device before installation; it is not possible to install remotely without making the file available. - In environments with ZTNA/Proxy and TLS inspection, configure a bypass for the EPM backend domains.