spctl
Manage the security assessment policy subsystem, Gatekeeper settings, and control which apps are allowed to run on the system.
- Path
- /usr/sbin/spctl
- Author
- Brendan Chamberlain (@infosecB)
- Created
- 2023-05-23
Example Use Cases 1
Disable Gatekeeper #
The --master-disable switch disables Gatekeeper. The command must be run with root/sudo permission.
sudo spctl --master-disable