Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.
Posted: by matthew.mitchell
Product: Mac OS X
Downloads: 59
Download

Description

This script enables or disables the firewall on macOS 10.7 or later. It can be used with a hardcoded value in the script, or read in as a parameter. Since Jamf Pro defines the first three parameters as (1) Mount Point, (2) Computer Name and (3) Username, we are using the fourth parameter ($4) as the passable parameter to acquire the status of <enableFirewall>. In addition, the fourth parameter is utilized to set the enableFirewall value.

Preview

Generating Preview...