Now, relaunch System Preferences and head back to the Gatekeeper settings. Enter the following command, followed by your admin password when prompted: sudo spctl -master-disable. To resolute Gatekeeper issues on macOS Sierra and unlock images and programs ( annoying image/application is damaged messages pretending you cannot open things ). First, quit System Preferences if it’s open and then open a new Terminal window.
How to disable gatekeeper in terminal how to#
But don’t worry, Gatekeeper can still be disabled in Sierra. How to disable Mac OS X: 'Can't be opened because it is from an unidentified developer' permanently - also known as GateKeeper security setting. In macOS Sierra, however, Apple made some important changes to Gatekeeper that seemingly limit the choices of power users. Gatekeeper, first introduced in OS X Mountain Lion, is a Mac security feature which prevents the user from launching potentially harmful applications. *Also Tested OS X El Capitan (Version: 10.11.6) on 2017-Nov Step 2: Type in the Terminal command line below to request disable Gatekeeper on Mac. Press the Command Space key to search for Terminal. The security feature will no longer bug you about apps from unidentified developers. Step 1: Open Terminal quickly by pressing Command Space and then find Terminal. Click the padlock in the lower-left corner to enter your password and make changes, then select “Anywhere” from the list of Gatekeeper options. You’ll now see that “Anywhere” has been restored. Enter the following command, followed by your admin password when prompted: First, quit System Preferences if it’s open and then open a new Terminal window. Thankfully, the “Anywhere” setting can be restored to Gatekeeper in Sierra with a Terminal command.
The Gatekeeper options are located beneath “All apps downloaded from:” with the choice of “Anywhere” missing. The Gatekeeper settings can be found in System Preferences > Security & Privacy > General. If you receive an error message box saying “xxxxxx.app” can’t be opened because it is from an unidentified developer Disable Gatekeeper in macOS Sierra