Where in the past you could still install any program as a Mac user, you have to bypass the “gatekeeper” today. This is a monitoring tool from macOS, the purpose of which is not to spy on its user, but to prevent the user from installing unchecked software.
In terms of technology, this works in such a way that the installation of a program only works smoothly via the Mac App Store. The reason for this is that Apple first checks these Mac apps - before they appear in the App Store - and makes sure that there is no malware installed there. If they have passed this and other tests, they will be released in the App Store.
If you want to download and install software from the Internet, you get a message from the gatekeeper process, which indicates that the software does not come from the App Store and therefore cannot be installed.
Every Mac user probably already knows the corresponding error message:
“Program XY” cannot be opened because it was not downloaded from the App Store. Your security settings only allow the installation of apps from the App Store.
Chapter in this post:
Turn off gatekeeper and bypass it
Basically, it is praiseworthy that Apple tries to provide more security with such functions. Unfortunately, not all programs are represented in the Mac App Store, so every now and then you have to install software past the gatekeeper.
Deactivate gatekeeper
The first way past the gatekeeper is via the macOS settings. Under System Settings> Security there are various options for “Allow apps to be downloaded from” under the “General” tab.
The “Mac App Store” option is activated by default. If you now want to deactivate the gatekeeper completely, change this to "No restrictions". The “Mac App Store and Verified Developers” may offer a good middle ground, because then you can download apps from the Internet, but it will still be checked whether the developer who wrote them also has a developer account with Apple.
The verified developer account itself is not a guarantee that you will not be able to catch malware, but the likelihood that it will come from a developer account is much lower.
If the option to disable gatekeeper is not available ...
I didn't have the option to completely disable Gatekeeper right away. If this is the case for you too, you can activate the option with the following command. You open this for that Port (under Utilities) and enter this:
sudo spctl --master-disable
Now go to System Settings> Security> General and you can also switch off Gatekeeper globally below. However, I would only recommend this if you know what you are doing.
If you want to hide the option again, do this again with the terminal:
sudo spctl --master-enable
Temporarily disable the gatekeeper
If you basically want to keep the gatekeeper active, but as an exception would like to run an app that you downloaded from the Internet, there is an uncomplicated way of doing this. Click the downloaded software with the right mouse button (or hold down the ALT key and press the mouse button) on the program and select "Open" in the menu.
This opens a warning window in which you can confirm that you are aware of the risk and want to start the file anyway. This warning only appears the first time a program is opened.
Related Articles
Jens has been running the blog since 2012. He acts as Sir Apfelot for his readers and helps them with technical problems. In his spare time he rides electric unicycles, takes photos (preferably with the iPhone, of course), climbs around in the Hessian mountains or hikes with the family. His articles deal with Apple products, news from the world of drones or solutions to current bugs.
Well here too it doesn't work for me that I can switch off the gatekeeper, despite the correct terminal command. Another tip? The display remains unchanged for me in the system settings. Or does it only run in the HG?
Hello Connie! So with me the display also shows “Allow apps download from: App Store”. Still, I can right-click anything—even if it's not from the App Store or verified developers.
In 10.15.7 the terminal commands work. An “enable” command does not necessarily need it. If you reset the setting in the system settings to one of the two default settings, the settings field will disappear the next time you start the system settings.
Is there actually a "list" on the computer in which the programs are listed/saved that were smuggled around Gatekeeper by the workaround?
Hello Florian! I think it's all recorded in some logs, but I don't see how you could make such a list. In practice, you would probably have to create these yourself by hand. But I'm not a terminal expert either ...
I'm looking for this function to temporarily turn off the gatekeeper under Mac OS Ventura. but can't find it?
Hi! Have you tried the terminal command here in the post? That should actually work... If not, I'd have to look for a new way from Ventura onwards.
Hello,
Thanks, no I haven't tried it yet. I'm a complete noob with terminal commands.
That's not hard. Just start the terminal and copy the command.
Oops found the commands, will try these tomorrow at leisure. Thanks
I entered the command to disable the gatekeeper. Now I was supposed to enter the admin's password (after a key character) but it didn't work. Hm
Thanks for the help🌼.
But I need the terminal command again. I can't find this one anymore, sorry for the trouble I'm making.
Now I was curious and entered the command to deactivate the gatekeeper. Now I was supposed to enter the admin's password (after a key character) but it didn't work. Hm
Well, then it can only be because the password is wrong. You have to type it in again. Should actually work like this!
It's disabled for me. But apps are still checked and the message appears whether I really want to open the app. So corrosive
Thanks in advance.
Howdy! Yes that's right. If it is switched off, you will still be annoyed with the query. If it were enabled, you wouldn't even be allowed to start the app. Unfortunately there is no solution, but I think the question only comes up at the first start.
“Is there actually a “list” on the computer where the programs are listed/saved that were smuggled around Gatekeeper by the workaround?”
You could click the apple in the top left -> About This Mac -> More Info -> System Report. Then on the left under “Software/Programs” sort the list by clicking on the column “Received from”.
You should now see all programs sorted by "Apple", "Verified Developers" and "Unknown".
Hope that helps.
Hello!
I enter the command in the terminal. Now he wants the password (key symbol), but you can't enter it.
Regards
Hi Max,
If the password is requested in the terminal, the entries are usually not displayed there. So no characters or symbols appear for the password you entered. The entries are still registered. So you can type in your password and press Enter. Then it should continue.
Best regards
John
Thank you for your answer.
Unfortunately I can't type in the password.
OK. Worked.
Thank you!:-)