Scheduled Daily Directory Scan - KAPERSKY ANTI-VIRUS 5.0 - FOR LINUX FREEBSD-OPENBSD MAIL SERVER Administrator's Manual

Hide thumbs Also See for ANTI-VIRUS 5.0 - FOR LINUX FREEBSD-OPENBSD MAIL SERVER:
Table of Contents

Advertisement

67
The object: launch recursive scanning of the /tmp directory with
automatic cleaning of all infected objects that are detected. Heuristic
code analyzer shall not be used. All objects that fail to be disinfected
are to be deleted.
Create the files infected.lst, suspicion.lst, corrupted.lst, and warning.lst
in the same directory and use them to save the names of all the
infected, corrupted, or suspicious objects, respectively.
Only output the results of the component's work (date of run, detailed
information about all the files except for uninfected ones) to the log file
kavscanner-current_date-pid.log, which shall also be saved in that
directory.
The solution: in order to accomplish the above objective input the
following in the command line:
#kavscanner -rlq -pi /tmp/infected.lst
-ps /tmp/suspicion.lst –pc /tmp/corrupted.lst
-pw /tmp/warning.lst -o /tmp/kavscanner-`date
"%Y-%m-%d-$$"`.log -i3 -ePASBMe –j3 -mCn /tmp

5.3.2. Scheduled daily directory scan

In the Unix family of operating systems, scheduled program start, including that
of Kaspersky Anti-Virus
The object: every night at 12 a.m. start scanning the /home directory for
viruses. Use the scanning parameters specified in configuration file
/etc/kav/scanhome.conf.
The solution: in order to accomplish the above objective do the
following:
1.
Create the configuration file /etc/kav/scanhome.conf with all the
required scanning parameters (for more details refer to the section
6.2 on page 88).
2.
Edit the file, which sets the rules of the cron process operation
crontab –e
(
* 0 * * * /path/to/kavscanner -c
/etc/kav/scanhome.conf /home
®
tasks, is carried out using the cron utility.
): input the following line:
Kaspersky Anti-Virus for Unix Mail Servers

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ANTI-VIRUS 5.0 - FOR LINUX FREEBSD-OPENBSD MAIL SERVER and is the answer not in the manual?

Table of Contents