← All Binaries

spctl

Manage the security assessment policy subsystem, Gatekeeper settings, and control which apps are allowed to run on the system.

Author: Brendan Chamberlain (@infosecB) Created: 2023-05-23

Paths

/usr/sbin/spctl

Example Use Cases

Disable Gatekeeper

The --master-disable switch disables Gatekeeper. The command must be run with root/sudo permission.

sudo spctl --master-disable

Detections

Resources