Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TCC.db Modifier.sh to work on MacOS 14.1.2 #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Hobadee
Copy link

@Hobadee Hobadee commented Dec 15, 2023

The TCC.db schema has changed since you originally wrote your script. I have updated the script to take the new schema into account.

I haven't fully reverse-engineered the schema, but it appears we can default values into there and just not worry too much about things for now.

I tested this via Jamf on a machine running MacOS 14.1.2; it was able to change the USER TCCs, but not the global TCCs due to the DB being read-only. I suspect this is due to SIP or something, but I haven't investigated further.

@Hobadee
Copy link
Author

Hobadee commented Dec 15, 2023

I was able to confirm that SIP is preventing modification of the global TCC. Standard methods of disabling SIP should work around this.

@Hobadee
Copy link
Author

Hobadee commented Dec 15, 2023

Update: I tried this in a different context and it did NOT work; the user TCC DB was read-only as well.

Original context I was using it in, where it worked, was when the user had no password, auto login was turned on, and FileVault was disabled. Context where users DB is write-protected is where the user has a password and FileVault is enabled.

I haven't investigated further, but I assume it's SIP again. :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant