I want to install Sophos Antivirus for Mac but I’m not having much luck. I can copy the .app file to Applications but how can I make a sudo command where it pulls the current username and places it in the command below
I need to be able to run this script on tons of computers without typing in the username for the current user.
What command can I do to do that?
sudo /Users//Applications/Sophos\ Installer.app/Contents/MacOS/Sophos\ Installer --install