![]() ![]() OS X doesn't provide a graphical interface for viewing apps that have been explicitly allowed to run. Interestingly, enabling Gatekeeper from the command line will always allow apps form the Mac App Store and identified developers, it will not set it to the most restrictive option of allowing only apps from the Mac App Store. The second command will change this to allow apps from only the Mac App Store and identified developers. The first command will set Gatekeeper to allow apps from anywhere. To alter the state of Gatekeeper, you must run the command as root. The results for this command will either be assessments enabled or assessments disabled, depending on whether Gatekeeper is set to only allow apps from the Mac App Store and identified developers, or apps from anywhere. Checking the Status of Gatekeeper spctl -status The command spctl ( man page) offers a non-graphical way of interacting with Gatekeeper, providing a way of enabling or disabling the service, as well as managing exceptions. ![]() Now, let's take a look at how Gatekeeper can be further managed from the command line. In the previous part of our series on Gatekeeper, we explored its features and options that can be configured within System Preferences, as well as how to explicitly allow apps to run. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |