Skip to main content
Jamf Nation, hosted by Jamf, is a dynamic and knowledgeable community of Apple-focused IT admins and Jamf Pro users. Join us in person, in October, for the annual Jamf Nation User Conference (JNUC) to discover new and better ways to manage Apple devices.

GateKeeper Configuration

Synopsis

DEFINE VARIABLES & READ IN PARAMETERS

1 of the 3 exact text strings below associated with the Gatekeeper features must be used as the variable input value:

"App Store" "App Store and identified developers" "Anywhere"

Input the value by:

  • copying it into the parameter 4 field when using the script as the payload in a Jamf Pro policy
  • passing it as argument 4 of the command to run the script (see SYNOPSIS above for syntax)
  • hard-coding the value into the script below

    If hard-coding the "gatekeeper" variable copy & paste the string between the double quotes
    following the = sign, e.g., gatekeeper="App Store"

Description

The Gatekeeper settings are located on the General tab of the Security & Privacy System Preferences Preference Pane. Use this script to set the radio buttons as desired.

Download

Preview

Generating Preview...