In the latest versions of OSX the gatekeeper setting (Security & Privacy settings) to enable opening of apps from any source is hidden by default.
I was able to unhide this setting by running the following code
Code: Select all
sudo spctl --master-disable