I was using gdb recently on my Mac and I was annoyed with the incessant popup which always shows up when I try to use gdb:

enter image description here

I read on StackOverflow that you can make this popup go away with the following incantation:

$ sudo security authorizationdb write system.privilege.taskport allow

It seems to have worked, but now that I'm done with gdb for the time being, I thought maybe it'd be a good idea to reset this authorization rule back to its default value. But, upon inspecting man security I see no way to do this. Is it even possible, and if so, how?

  • 1
    Try the same command, but use 'rule' instead of 'allow'. The StackOverflow post indirectly mentions this in Emily's answer. – IconDaemon May 15 '18 at 19:16
  • 1
    @IconDaemon Trying that gives this very uninformative message: NO (-60005) – GDP2 May 15 '18 at 23:51

You must log in to answer this question.

Browse other questions tagged .