Dumb question...
When pushing out bash scripts that require root privileges via Casper Remote, do I need to explicitly escalate permisions via the sudo command?
Simple Example: I created a simple bash script to tell managed Macs to run Apple Software Update...
Is this acceptable:
!/bin/bash
/usr/sbin/softwareupdate -i -a
Or do I need to do this:
!/bin/bash
sudo /usr/sbin/softwareupdate -i -a
I assume jamf runs as root?