Running sudo commands in Automator

If you're wondering how to run sudo (for privilege escalation) commands in Automator, this is one way to do it. Launch up Automator (of course). Find Run AppleScript in the library of actions. Then, drag it over to the workflow area on the right. By default, Automator will put in some script structure for you […]