Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



MacOS X - Prevent G...
 
Share:
Notifications
Clear all

[Solved] MacOS X - Prevent Gatekeeper from re-arming itself

1 Posts
1 Users
0 Reactions
1,669 Views
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

Gatekeeper is a protection mechanism in modern MacOS X version (Yosemite, El Capitan,etc), which tries to protect you from starting potentially "dangerous" software. It basically checks if the developer of the application is known to Apple (registered as an Apple developer and if the application has been signed properly).

This is all nice and dandy (and feels pretty complicated from a developers perspective), but it can be quite annoying for freeware developers. The user will see a "App can’t be opened because it is from an unidentified developer” error, unless the app has been signed and such. Unfortunately, Apple is not really helpful when it comes to supporting freeware and/or open source development with non-Apple tools.

So ... we can disable this option in "System Preferences" -> "Security & Privacy" -> "General" where we can set "Allow apps downloaded from" to "Anywhere" which basically disables Gatekeeper.

But it can happen that Gatekeeper re-enables itself after 30 days ... 

With the following Terminal command you can disable this auto re-arm option:

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

If you'd like to enable this option again, use:

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

   
ReplyQuote
Share: