Note that the full paths to /Volumes/Macintosh\ HD are required in recovery mode. You will need to replace TEAMID1234 with the team ID of the kext(s) you want to revoke consent for. I also had to reset the PRAM.Ĭreate the following script somewhere on your filesystem (you will be running this from recovery mode, so you won't be able to copy and paste in that mode). To echo what people are saying in the comments, I found that the accepted solution did not work. So, you'd need to reboot into a recovery partition, or a different MacOS installation, then cd into the root of your volume, and run the commands like these (replace with your team_id, or use other criteria): usr/bin/sqlite3 var/db/SystemPolic圜onfiguration/KextPolicyĭelete from kext_load_history_v3 where team_id='54GTJ2AU36' ĭelete from kext_policy where team_id='54GTJ2AU36' Removing the approval is tricker, since the System Integrity Protection does not allow you to modify the database. here is how you can view the data and the table schema: sqlite3 /var/db/SystemPolic圜onfiguration/KextPolicyĥ4GTJ2AU36||1|Joshua Wise|1ĬREATE TABLE kext_policy ( team_id TEXT, bundle_id TEXT, allowed BOOLEAN, developer_name TEXT, flags INTEGER, PRIMARY KEY (team_id, bundle_id) ) ![]() ![]() The tables you're interested in are: kext_policy and kext_load_history_v3. The information about approvals is stored in sqlite3 database: /var/db/SystemPolic圜onfiguration/KextPolicy
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |