macOS

Gatekeeper Woes

Gatekeeper is the feature at work when OS X tells you that a particular application can’t be opened because it is from an unidentified developer. It is yet another control freak bad taste game used by Apple to manipulate developers, and users. Sure it is!

For those tech-savvy that know what they are doing, this can be extremely annoying! So let's check how we can disable Gatekeeper.

Sierra

The Gatekeeper settings can be found in System Preferences > Security & Privacy > General.

gatekeeper

The Gatekeeper options are located beneath All apps downloaded from:, but the choice of Anywhere missing now. I keep saying, Apple is not what once was, their claws are almost fully extended now.

Thankfully, the Anywhere setting can be restored to Gatekeeper in Sierra. First, quit System Preferences if it’s open and then open a new Terminal window.

Enter the following command, followed by your admin password when prompted:

sudo spctl --master-disable

Now, relaunch System Preferences and head back to the Gatekeeper settings. You’ll now see that Anywhere has been restored.

gatekeeper

El Capitan

It turns out that Apple quietly made a key change to the way that Gatekeeper works in El Capitan, and the feature will now re-enable itself (a.k.a. “auto rearm”) after 30 days.

Disable Auto-rearm:

sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool NO

Enable Auto-rearm:

sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool YES