Install SentinelOne on macOS devices
  • 18 Oct 2024
  • 1 読む分
  • PDF

Install SentinelOne on macOS devices

  • PDF

The content is currently unavailable in Ja - 日本語. You are viewing the default English version.
記事の要約

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

  1. Navigate to Content Management > Content.

  2. Upload the SentinelOne PKG file to the Content management.

  3. Copy the download URL from here and save it.

Step 2: Upload the script

  1. Create a file on your desktop, for example, Install_SentinelOne.sh and open it in a text editor like notepad++

  2. Copy the contents below to the file or click here to download the file.

    1. In the script replace the below placeholders:

      1. sentinelToken=Enter the sentinelToken Here

      2. downloadLink=Enter the Download URL of the Appname.pkg file from Content management

      3. 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
  3. Choose 'Run Script as signed-in user' as No while uploading the script.

  4. 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:

  1. The scripts and their contents are sourced from various albeit authenticated Apple Developer communities and forums.

  2. Please validate the scripts on a test machine before deploying them on all your managed devices.

  3. 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.


この記事は役に立ちましたか?