Answer the question
In order to leave comments, you need to log in
How to make an application run as root in OS X?
The essence of the question is that I need to run the application as root.
How I did it under Windows:
1) During installation, the service was also installed and started.
2) When the application is launched (under the user), it sends a command to the service and the service restarts it, but with admin rights.
Now, actually, I need to do the same under the macOS as easy as possible.
What is the easiest way to do this?
Answer the question
In order to leave comments, you need to log in
In my opinion, daemons are not allowed to run applications from the UI, transferring root rights and the user will have to enter a login / password. Maybe, like here nonsenseinbasic.blogspot.ru/2013/03/mac-os-x-progr...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question