JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Security Services     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

Preface

Part I Security Overview

1.  Security Services (Overview)

Part II System, File, and Device Security

2.  Managing Machine Security (Overview)

3.  Controlling Access to Systems (Tasks)

4.  Virus Scanning Service (Tasks)

About Virus Scanning

About the Vscan Service

Using the Vscan Service (Tasks)

How to Enable Virus Scanning on a File System

How to Enable the Vscan Service

How to Add a Scan Engine

How to View Vscan Properties

How to Change Vscan Properties

How to Exclude Files From Virus Scans

5.  Controlling Access to Devices (Tasks)

6.  Using the Basic Audit Reporting Tool (Tasks)

7.  Controlling Access to Files (Tasks)

Part III Roles, Rights Profiles, and Privileges

8.  Using Roles and Privileges (Overview)

9.  Using Role-Based Access Control (Tasks)

10.  Security Attributes in Oracle Solaris (Reference)

Part IV Cryptographic Services

11.  Cryptographic Framework (Overview)

12.  Cryptographic Framework (Tasks)

13.  Key Management Framework

Part V Authentication Services and Secure Communication

14.  Network Services Authentication (Tasks)

15.  Using PAM

16.  Using SASL

17.  Using Secure Shell (Tasks)

18.  Secure Shell (Reference)

Part VI Kerberos Service

19.  Introduction to the Kerberos Service

20.  Planning for the Kerberos Service

21.  Configuring the Kerberos Service (Tasks)

22.  Kerberos Error Messages and Troubleshooting

23.  Administering Kerberos Principals and Policies (Tasks)

24.  Using Kerberos Applications (Tasks)

25.  The Kerberos Service (Reference)

Part VII Auditing in Oracle Solaris

26.  Auditing (Overview)

27.  Planning for Auditing

28.  Managing Auditing (Tasks)

29.  Auditing (Reference)

Glossary

Index

Using the Vscan Service (Tasks)

Scanning files for viruses is available when the following requirements are met:

The following table points to the tasks you perform to set up the vscan service.

Task
Description
For Instructions
Install a scan engine.
Installs and configures one or more of the supported third-party products listed in Table 4-1.
See the product documentation.
Enable the file system to allow virus scans.
Enables virus scans on a ZFS file system. By default, scans are disabled.
Enable the vscan service.
Starts the scan service.
Add a scan engine to the vscan service.
Includes specific scan engines in the vscan service.
Configure the vscan service.
Views and changes vscan properties.
Configure the vscan service for specific file types.
Specifies the file types to include and exclude in a scan.

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(1M) command.

Before You Begin

You must be assigned the ZFS File System Management or the ZFS Storage Management rights profile. 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 Oracle Solaris Administration: ZFS File Systems.

  1. Become an administrator with the required security attributes.

    For more information, see How to Obtain Administrative Rights.

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

How to Enable the Vscan Service

Before You Begin

You must be assigned the VSCAN Management rights profile.

  1. Become an administrator with the required security attributes.

    For more information, see How to Obtain Administrative Rights.

  2. Use the svcadm(1M) command to enable virus scanning.
    # svcadm enable vscan

How to Add a Scan Engine

Before You Begin

You must be assigned the VSCAN Management rights profile.

  1. Become an administrator with the required security attributes.

    For more information, see How to Obtain Administrative Rights.

  2. To add a scan engine to the vscan service with default properties, type:
    #vscanadm add-engine engine_ID

    See the man page for the vscanadm(1M) command for a description of the command.

How to View Vscan Properties

Before You Begin

You must be assigned the VSCAN Management rights profile.

  1. Become an administrator with the required security attributes.

    For more information, see How to Obtain Administrative Rights.

  2. View the properties of the vscan service, of all scan engines, or of a specific scan engine.
    • To view the properties of a particular scan engine, type:
      # vscanadm get-engine engineID
    • To view the properties of all scan engines, type:
      # vscanadm get-engine
    • To view one of the properties of the vscan service, type:
      # vscanadm get -p property

      where property is one of the parameters described in the man page for the vscanadm(1M) command.

      For example, if you want to see the maximum size of a file that can be scanned, type:

      # vscanadm get max-size

How to Change Vscan Properties

You can change the properties of a particular scan engine and the general properties of the vscan service. Many scan engines limit the size of the files they scan, so the vscan service's max-size property must be set to a value less than or equal to the scan engine's maximum allowed size. You then define whether files that are larger than the maximum size, and therefore not scanned, are accessible.

Before You Begin

You must be assigned the VSCAN Management rights profile.

  1. Become an administrator with the required security attributes.

    For more information, see How to Obtain Administrative Rights.

  2. View the current properties by using the vscanadm show command.
  3. Set the maximum size for virus scans to, for example, 128 megabytes.
    # vscanadm set -p max-size=128M
  4. Specify that access is denied to any file that is not scanned due to its size.
    # vscanadm set -p max-size-action=deny

    See the man page for the vscanadm(1M) command for a description of the command.

How to Exclude Files From Virus Scans

When you enable antivirus protection, you can specify that all files of specific types are excluded from the virus scan. Because the vscan service affects the performance of the system, you can conserve system resources by targeting specific file types for virus scans.

Before You Begin

You must be assigned the VSCAN Management rights profile.

  1. Become an administrator with the required security attributes.

    For more information, see How to Obtain Administrative Rights.

  2. View the list of all file types included in the virus scan.
    # vscanadm get -p types
  3. Specify the types of files to be scanned for virus:
    • Exclude a specific file type, for example the JPEG type, from the virus scan.
      # vscanadm set -p types=-jpg,+*
    • Include a specific file type, for example executable files, in the virus scan.
      # vscanadm set -p types=+exe,-*

    For more information, see the vscanadm(1M) man page.