macos community v1.0.0

spctl

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

📋 Live Preview
spctl
spctl

Sandbox: execFile · Timeout: 30s

Capabilities

security.defenseevasion.bypass

Examples

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

sudo spctl --master-disable

Detection

Documentation

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

References