To prevent malware from accessing your Mac, Apple enables GateKeeper by default, only allowing you to install and run applications from the App Store or identified Developers (Adobe, Microsoft, etc.).

For example, with GateKeeper enabled when you run sqlplus the first time, it will show you the following message.

This post is part of a series of posts on how to Connect to Oracle database on macOS, in this case, using Instant Client on macOS.

We will install and use the Oracle Instant Client, which is one of the easiest and fastest ways to connect to an Oracle database…

Have you disabled Gatekeeper on macOS? And want to reset security to system default settings, this post is for you.

Ok, so let’s get started.

In this post, we will enable Gatekeeper back again only to allow applications from the App Store or Developers identified by Apple.

1. In terminal run the following command.

sudo spctl --master-enable

2. To verify that Gatekeeper is enabled, go to System Preferences, and you should see the following.

Reybis Ceballos

Solutions Architect, DevOps Engineer and Senior Project Manager from DR 🇩🇴 ⁣ #OCI | #AWS | #GCP | #OrclApex | #iOS | #Xamarin

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store