Symptom: Sometimes, after installing the Mac Enterprise Agent, you might receive the error "Insecure Startup Item disabled", preventing the Agent from running.
Causes:
- The Agent was not installed with correct permissions
Prerequisites:
- An Agent installer MPKG configured with your public certificate (follow steps 1-6 in this article)
Resolution:
- Uninstall the existing Agent
- Copy the configured Agent installer MPKG to the local machine
- Open a Terminal window
- Navigate to the folder containing the MPKG file
- Run the following command to give the Agent installer correct permissions:
sudo chmod -R 755
- Run the following command to reinstall the Agent (after running the command, you should receive the message "upgrade successful"):
sudo installer -pkg -target /
- 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 - Reboot