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

In order for sudo to work the way everyone suggest, you need to be in the admin group.