Apple has a utility in /usr/bin named tccutil, but it only supports one command, which is to reset the entire database. It has been like this for many versions of macOS. I wanted a command-line utility that would be able to add, remove, list, and take other actions. This tool needs SIP disabled in order to function. The risk of doing so is up to you. tccutil.py can be installed without any additional software. Depending how you have your $PATH variable setup, you can simply type tccutil (instead of the full path) and it will run this utility instead of Apple's. This utility needs super-user priveleges for most operations. It is important that you either run this as root or use sudo, otherwise it won't work and you will end up with “permission denied” errors.

Features

  • Modify macOS' Transparency
  • Consent, and Control (TCC) Framework from the Command Line
  • This tool needs SIP disabled in order to function
  • Command line tool to modify OS X's accessibility database
  • tccutil.py can be installed without any additional software
  • Privacy Manager Services has other dependencies that need to be installed

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow tccutil.py

tccutil.py Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tccutil.py!

Additional Project Details

Operating Systems

Mac

Programming Language

Python

Related Categories

Python Database Software, Python Command Line Tools, Python Accessibility Tool

Registered

2023-04-14