Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # This will add lauchd to the list of allowed processes for accessibility access
  4. sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db "INSERT or REPLACE INTO access VALUES('kTCCServiceAccessibility','/sbin/launchd',1,1,1,NULL)"
  5.  
  6. # This outputs the rows in the TCC database
  7. sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db 'select * from access'
  8.  
  9. echo "Restart is required for these changes to take effect"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement