Introduction: This document outlines the procedure of installing the Enterprise Agent on Mac via SSH for AD Enterprise 3.3.2 and later.

 

Prerequisites:

  • Disable all firewalls
  • SSH enabled on the target box
  • A pre-configured Agent installer MPKG (follow steps 1-6 in this article)

Procedure:

  1. SSH to target machine, logging on as a user with admin permissions
  2. Copy the configured Agent installer MPKG to the target machine
  3. Navigate to the folder where you put the MPKG file
  4. Run the following command to give the Agent installer correct permissions:
    sudo chmod -R 755 
  5. Run the following command to install the Agent (after running the command, you should receive the message "upgrade successful"):
    sudo installer -pkg -target /
  6. Run the following commands to give the Agent start entry proper permissions and ownership:
    sudo chmod -R 755 /Library/StartupItems/AccessDataAgent
    sudo chmod 644 /Library/StartupItems/AccessDataAgent/StartupParameters.plist
    sudo chown -R root:wheel /Library/StartupItems/AccessDataAgent
    1. If there are no items present in /Library/StartupItems, this step can be skipped