[macos] How to run a script as root on Mac OS X?

Or you can access root terminal by typing sudo -s