Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Script to turn On-Access scanning off/on

Hi folks

Can anyone help me with a script to stop or start the InterCheck process on a Mac?

In short, I'm wanting to script On-Access Scanning to be off at the start of a backup (to improve performance) and restar when the backup finishes.

Thanks in advance

Georgia

:1002115


This thread was automatically locked due to age.
Parents
  • Just remember that stopping the intercheck process is exactly what malware would like to do... it's why you need to authenticate to stop it manually.  Writing a script to do this unattended might not be a good idea.  Also, you probably don't want to disable the InterCheck process, as that controlls autoupdates as well as on-access scanning.  Plus, it's self-healing (terminating the process won't help).

    That said, as long as your backup script is sudo'd, it should be possible; ou can use the Applescript suite to script the on-access component.

    :1002127
Reply
  • Just remember that stopping the intercheck process is exactly what malware would like to do... it's why you need to authenticate to stop it manually.  Writing a script to do this unattended might not be a good idea.  Also, you probably don't want to disable the InterCheck process, as that controlls autoupdates as well as on-access scanning.  Plus, it's self-healing (terminating the process won't help).

    That said, as long as your backup script is sudo'd, it should be possible; ou can use the Applescript suite to script the on-access component.

    :1002127
Children
No Data