You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mtr instead of traceroute (traceroute seems to be setuid; otherwise, it, too, would require sudo)
But that's a lot of work. One path would be an installer package. Another is to have an API prompt for authorization on first use, then install a helper tool, which in turn is restricted to only do the necessary privileged things. The way to do that these days seems to be SMJobBless.
Have a separate project for the helper tool
Code-sign both the main project and the helper project
Have SMPrivilegedExecutables on the main project reference the helper
Have SMAuthorizedClients on the helper project reference the main app
Having a privileged helper tool would enable a few more possibilities, such as
tracerouteseems to be setuid; otherwise, it, too, would require sudo)But that's a lot of work. One path would be an installer package. Another is to have an API prompt for authorization on first use, then install a helper tool, which in turn is restricted to only do the necessary privileged things. The way to do that these days seems to be SMJobBless.
SMPrivilegedExecutableson the main project reference the helperSMAuthorizedClientson the helper project reference the main app