博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
How to Allow Apps from Anywhere in macOS Gatekeeper (Mojave, Sierra, High Sierra)
阅读量:6736 次
发布时间:2019-06-25

本文共 2882 字,大约阅读时间需要 9 分钟。

hot3.png

Gatekeeper in MacOS is now stricter than ever, defaulting to only allow options for apps downloaded from either the App Store or the App Store and identified developers. Advanced Mac users may wish to allow a third option, which is the ability to open and allow apps downloaded from anywhere in macOS Sierra, macOS High Sierra, and MacOS Mojave.

To be clear, the “Allow applications downloaded from anywhere” option is hidden by default in Gatekeeper for macOS from Sierra onward. You can see this by going to the Security & Privacy preference panel, and under the “General” section you will not find such an option for Gatekeeper app allow settings. Despite that, with a little command line intervention you can reveal the third option and regain the ability to open apps that come from anywhere.

This is not recommended for most Mac users, only advanced Mac users and developers who have the ability to accurately gauge app validity should use this method, which involves , thereby removing the standard Gatekeeper security mechanisms in Mac OS.

How to Allow Apps from Anywhere in Gatekeeper for macOS Mojave, MacOS Sierra

  1. Quit out of System Preferences

  2. Open the Terminal app from the /Applications/Utilities/ folder and then enter the following command syntax:

    sudo spctl --master-disable
  3. Hit return and authenticate with an admin password

  1. Relaunch System Preferences and go to “Security & Privacy” and the “General” tab

  2. You will now see the “Anywhere” option under ‘Allow apps downloaded from:’ Gatekeeper options

You’ll now be able to open and launch apps from anywhere under macOS Mojave, High Sierra, and Sierra, but be forewarned this turns off Gatekeeper and is not recommended for the vast majority of Mac users.

Allowing apps from anywhere including unidentified developers can potentially leave a Mac vulnerable to certain malware and junkware and should be avoided by all Mac users with the exception of those with genuinely advanced abilities.

Another approach is to manually , a solution which may be more appropriate than simply allowing everything to skirt past Gatekeeper.

Returning to Default Gatekeeper Security in macOS Mojave, High Sierra, Sierra

You can also reverse this and go back to the default strict Gatekeeper settings of only allowing apps from the Mac App Store and identified developers by issuing the following command string:

sudo spctl --master-enable

Hitting return and re-authenticating will return macOS Gatekeeper back to its strict default state of disallowing random apps from launching.

Nearly every Mac user should leave this feature enabled in the default state. If you do not have the ability to easily discern which apps are legitimate or not, you should absolutely not change this option. The is there to offer protection to the vast majority of Mac users and should not be ignored.

转载于:https://my.oschina.net/zhangwenwen/blog/2999133

你可能感兴趣的文章
集中管理服务器 PUPPET(一) 部署 与 添加节点
查看>>
rhca 333 network
查看>>
Android 好推荐
查看>>
CentOS系统安装(下):kickstart文件及引导镜像的制作
查看>>
System Center 2012 R2实例3—SCOM之SharePoint全方位监视3—报告服务器
查看>>
tomcat&memcached实现session共享
查看>>
爱技术,爱分享,爱博报!分享大赛赢大奖!
查看>>
Firefox和Chrome谷歌浏览器显示正在连接打开网页缓慢的解决方法
查看>>
Gulp-useref IE条件语句导致页面build:js不能替换的解决办法
查看>>
java加解密-数字证书
查看>>
实时检查Linux系统负载
查看>>
javascript静态页面传值的三种方法,让你一次爽个够!
查看>>
组策略管理01------本地策略
查看>>
JAVA相关基础知识
查看>>
another app is currently holding the yum lock;waiting for it to exit...
查看>>
Postel ActiveX Control
查看>>
Sharepoint V3 新用户设置权限的问题
查看>>
工作1周感想
查看>>
linux命令cut用法
查看>>
详解Hadoop核心架构
查看>>