How to Prevent Gatekeeper Turning Back On Automatically in Mac OS X
Gatekeeper is a security feature built into Mac OS X which helps to prevent unauthorized applications and code from executing on a Mac. Most users have encountered Gatekeeper before when they go to open an application downloaded from the internet, where you see an “App can’t be opened because it is from an unidentified developer” error message. Because Gatekeeper is a worthwhile security feature, almost all Mac users should leave it enabled, but some advanced OS X users, developers, and systems administrators may need to disable Gatekeeper. While you can do that, users will find that Gatekeeper re-enables itself after a 30 day period has lapsed, basically meaning that Gatekeeper will turn itself back on even if it has been turned off.
This is a security feature called ‘Auto Rearm’ and it’s a new addition to Gatekeeper in MacOS Sierra, OS X El Capitan and Yosemite, but with a little effort the auto-enable feature can be disabled too.

















