On-Demand Scan Of An Individual Directory; Scheduled Scan - KAPERSKY ANTI-VIRUS 5.7 - FOR LINUX FILE SERVER Administrator's Manual

Hide thumbs Also See for ANTI-VIRUS 5.7 - FOR LINUX FILE SERVER:
Table of Contents

Advertisement

Using Kaspersky Anti-Virus
You can specify them for the current work session using command line
parameters when starting the kavscanner component.
Actions for both simple and container objects use the same syntax (sections
[scanner.object] and [scanner.container]).
4.2.4. On-demand scan of an individual
directory
One of the commonest tasks implemented by Kaspersky Anti-Virus is the anti-
virus scan and disinfection of an individual directory.
Task: start an anti-virus scan of the /tmp directory with automatic
disinfection of all infected objects detected. Delete all objects that
cannot be disinfected.
Create the files infected.lst, suspicion.lst, corrupted.lst and warning.lst
to record the filenames of all infected, suspicious and corrupted objects
detected during the scan.
The results of the component operation (starting date, information
about all files, except clean files) will be printed in the report file kav4fs-
kavscanner-current_date-pid.log that will be created in the current
directory.
Solution: to implement this task, enter at the command line:
# /opt/kaspersky/kav4fs/bin/kav4fs-kavscanner -rlq -
pi/tmp/infected.lst -ps/tmp/suspicion.lst –
pc/tmp/corrupted.lst -pw/tmp/warning.lst -o
/tmp/kav4fs-kavscanner-`date "+%Y-%m-%d-$$"`.log -i3
-ePASBMe –j3 -mCn /tmp

4.2.5. Scheduled scan

Kaspersky Anti-Virus tasks can be scheduled to run using the cron application.
If no configuration file is specified in the command line at the
component startup, the operating settings will be taken from
the kav4fs.conf file. The use of this file at startup does not
have to be specified!
29

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ANTI-VIRUS 5.7 - FOR LINUX FILE SERVER and is the answer not in the manual?

Table of Contents