Skip to content

Instantly share code, notes, and snippets.

@enterpriseosx
Created January 9, 2015 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enterpriseosx/826fd27ca52689568feb to your computer and use it in GitHub Desktop.
Save enterpriseosx/826fd27ca52689568feb to your computer and use it in GitHub Desktop.
Sophos Pre-Config
# Modify the usernames and paswords to whatever you use and then copy the edited command below, into your terminal. Make sure you are located
# Inside /Sophos\ Installer.app/Contents/MacOS before you execute the line.
./CreateOnAccessPreconfig -AutoLaunch "YES" -InArchives "NO" && sudo ./CreateUpdatePreconfig -PrimaryServerType 1 -PrimaryServerUserName SophosSvcAccount -PrimaryServerPassword \!4m31337 -PrimaryServerURL http://avupdate.yourdomaingoeshere.com:8195/sophosupdate/CIDs/S000/ESCOSX -SecondaryServerType 0 -SecondaryServerUserName username -SecondaryServerPassword 2099wh00p33
# Note: If you are using a password that begins with a ! (bang) you need to put a \ (backslash in front of it, because if not the script
# will treat the bang, like a bang and it will error out...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment