There’s a setting on Mac OS X for allowing apps to be installed from anywhere or only from signed developers. If you want to automate changing this setting via terminal command, this is how you do it.
sudo spctl master-enable
sudo spctl master-disable
The spctl command is even more versatile than that. More details at Gatekeeper Fundamentals, Part 2.
Leave a Reply