- 18 Oct 2024
- 1 読む分
- 印刷する
- PDF
Install SentinelOne on macOS devices
- 更新日 18 Oct 2024
- 1 読む分
- 印刷する
- PDF
The following script allows IT Admins to install SentinelOne on macOS devices along with activating the token for it.
Step 1: Uploading PKG file to Content Management
Navigate to Content Management > Content.
Upload the SentinelOne PKG file to the Content management.
Copy the download URL from here and save it.
Step 2: Upload the script
Create a file on your desktop, for example, Install_SentinelOne.sh and open it in a text editor like notepad++
Copy the contents below to the file or click here to download the file.
In the script replace the below placeholders:
sentinelToken=Enter the sentinelToken Here
downloadLink=Enter the Download URL of the Appname.pkg file from Content management
pkgName= SentinelOne app’s package name
#!/bin/bash sentinelToken="Enter the sentinelToken Here" downloadLink="Enter the Download URL of the Appname.pkg file from Content management" pkgName="Appname.pkg" #You can put the installer on dropbox or where you prefer. if [ -d /Applications/SentinelOne/ ]; then echo "Already Installed" echo $sentinelToken > /tmp/com.sentinelone.registration-token exit 0 else #Download Agent curl -L -o /tmp/$pkgName $downloadLink #Set Token echo $sentinelToken > /tmp/com.sentinelone.registration-token #Install Agent /usr/sbin/installer -pkg /tmp/$pkgName -target / fi
Choose 'Run Script as signed-in user' as No while uploading the script.
Follow our guide to upload & publish the Shell script using Scalefusion Dashboard.
Please note that to use the Shell scripts, the Scalefusion MDM Client Application must be installed on the device(s). Please follow our guide to publish and install the Scalefusion MDM Agent Application.
Note:
The scripts and their contents are sourced from various albeit authenticated Apple Developer communities and forums.
Please validate the scripts on a test machine before deploying them on all your managed devices.
Scalefusion has tested these scripts, however, Scalefusion will not be responsible for any loss of data or system malfunction that may arise due to the incorrect usage of these scripts.