Escalate App Privileges Programmatically OS X

前端 未结 1 628
误落风尘
误落风尘 2021-01-18 01:15

I\'ve done some digging and the main ideas I\'ve seen floating around are using setuid/getuid and using the Authorization Services (which, for some reason gives me a symbol

相关标签:
1条回答
  • 2021-01-18 02:15

    Authorization Services is pretty well supported, AFAIK.

    Here's a link to a tutorial (with sample projects!) which you can use to launch a small tool in which you can get admin priviledges and then you can call the setpriority API on your calling process (documentation linked for you).

    0 讨论(0)
提交回复
热议问题