Is anyone else successfully editing the "/Library/Application Support/com.apple.TCC/TCC.db" file? I had been doing so in El Cap and Yosemite since that is the Database for the Accessibility list (System Preferences > Security & Privacy > Privacy > Accessibility). But when I try on Sierra I get the error:
Error: attempt to write a readonly database
I don't see anything else on this online, other than to check the permissions. But I'd think sudo would have permissions on it. Any thoughts?
sqlite3 /Library/Application Support/com.apple.TCC/TCC.db "INSERT INTO access VALUES('kTCCServiceAccessibility','<APP>',0,1,1,NULL,NULL);"