Go to main content

Securing Systems and Attached Devices in Oracle® Solaris 11.4

Exit Print View

Updated: July 2019
 
 

How to Enable Virus Scanning on a File System

Use the file system command to allow virus scans of files. For example, to include a ZFS file system in a virus scan, use the zfs(8) command.

The ZFS file system allows some administrative tasks to be delegated to specific users. For more information about delegated administration, see Chapter 9, Oracle Solaris ZFS Delegated Administration in Managing ZFS File Systems in Oracle Solaris 11.4.

Before You Begin

You must become an administrator who is assigned the ZFS File System Management or the ZFS Storage Management rights profile. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  • Enable virus scanning on a ZFS file system, for example, pool/volumes/vol1.
    $ zfs set vscan=on path/pool/volumes/vol1