MacOS, Applications, Settings – Permitting Downloads from Anywhere

applicationsmacossettings

Screenshot of "Choosing 'Anywhere' makes your Mac less secure." popup

I want to trust unidentified developers' applications. I've gone to System Preferences > Security & Privacy and tried to enable "Allow apps downloaded from: Anywhere", but OS X claims it will reset my "Anywhere" selection after 30 days of inactivity. Actually, I don't want OS X to make it unusually difficult for me to use my software, ever. Is it possible to make this selection permanent?

Best Answer

It took me some time to figure this out but you can disable it through a global preference using the terminal:

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

This will disable the auto rearming of the Gatekeeper in OS X. Tested on both Yosemite and Mavericks