Mac Roaming Client Agent - NinjaOne Installation
You can follow this article to install the macOS DNSFilter agent to your network using the NinjaOne tool. We've broken down the installation into the following steps:
- Creating the macOS Agent Install Script
- Importing the script
- Running the installer script
Prerequisites
- Your Mac Must be Running macOS 10.15 or later
Instructions
Creating the Mac Agent Install Script
Create the script below(use your site key in place of "YOUR SITE KEY HERE") which downloads and installs the macOS roaming client:
#!/bin/sh
curl https://download.dnsfilter.com/User_Agent/MacOS/DNSFilter%20Agent-Installer.pkg -o /tmp/DNSFilter%20Agent-Installer.pkg
cd /tmp && echo "YOUR SITE KEY HERE" > dns_agent_site_key && sudo installer -dumplog -store -pkg DNSFilter%20Agent-Installer.pkg -target /
Running the installer script
- Log into NinjaOne and click on the Administration tab on the left navigation bar.
- Navigate to Library > Scripting in the Administration bar on the left side.
- On the top right side click Import New Script > From my computer.
- Select the shell script you downloaded in the previous section. (Mac_Roaming Client-Agent.sh)
- Provide a meaningful name related to the customer in the Name: field. Complete the remaining fields according to your specifications and then click the blue Save button. Once saved you can click the Close button.
- Navigate to Policies > Agent Policies in the Administration bar.
- Select the NinjaOne Agent Policy that you have designated for this customer’s Mac devices and edit the policy.
- Select Scheduled Scripts on the left side and then click Add a Scheduled Script on the right.
- Provide a name for the Scheduled Script and set the Schedule field to “Run Once Immediately”. Next select Add Script in the top left corner.
- Select the script that you created in step 5 and ensure Run As is set to “System” then click Apply and then Add.
- Click the Save button in the top right corner of the screen and then the Close button. NinjaOne will now begin to run the script on devices attached to the policy.
You've successfully deployed the Mac Roaming Client Agent to your network.
Comments
0 comments
Article is closed for comments.