Run Script on Startup
I wrote a .sh shell script file. I want to run the file once the Mac computer startup with root permission for all users. How can I do so?
I wrote a .sh shell script file. I want to run the file once the Mac computer startup with root permission for all users. How can I do so?
Build a Launch Daemon to start it. https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSy stemStartup/Chapters/CreatingLaunchdJobs.html
Run Script on Startup