Appendix D. Configuration File

Top  Previous  Next

Configuration parameters of all Dr.Web for UNIX components are managed by a special coordinating daemon Dr.Web ConfigD. These parameters are stored in the drweb.ini file, which default directory is etc_dir (for GNU/Linux /etc/opt/drweb.com).

The text configuration file stores only those parameters which values differ from the defaults. If a parameter is absent in the configuration file, its default value is used.

You can view the list of all available parameters, including those that are absent in the configuration file and have default values, by using the following command:

$ drweb-ctl cfshow

You can change any parameter value in one of the two following ways:

1.Specify the parameter in the configuration file (by editing the file in any text editor) and send SIGHUP signal to the configuration daemon (the drweb-configd component) in order to apply the changes (to do that, you can issue the drweb-ctl reload command).

2.Type this command in the command line

# drweb-ctl cfset <section>.<parameter> <new value>

Note, that this command can be executed only if the management tool Dr.Web Ctl is run with superuser privileges. To gain superuser privileges, use su or sudo command.

For further information about the cfshow and cfsetcommand syntax of the command-line management tool Dr.Web Ctl (the drweb-ctl module), refer to the section Dr.Web Ctl Administrator Manual.

Convention for Paths to Product Files

The product described in the present document is designed for operation in different UNIX-based operating system. Real paths to product files depend on the operating system installed on the user’s computer. For notational convenience, the following conventions are used:

<opt_dir>—directory where main product files are located (including executable files and libraries).

<etc_dir>—directory where the configuration file and a key file are located.

<var_dir>—directory where supporting and temporary product files are located.

Real paths corresponding to the conventions in different operating systems are given in the table below.

OS Type

Convention

Real Path

GNU/Linux,
Solaris

<opt_dir>

/opt/drweb.com

<etc_dir>

/etc/opt/drweb.com

<var_dir>

/var/opt/drweb.com

FreeBSD

<opt_dir>

/usr/local/libexec/drweb.com

<etc_dir>

/usr/local/etc/drweb.com

<var_dir>

/var/drweb.com

For space considerations, examples use paths for GNU/Linux operating systems. In some places of the document, where it is possible, examples contain real paths for all of the operating systems.

Full version of Administrator Manual for Dr.Web for UNIX is available

At Doctor Web official website https://download.drweb.com/doc/ (Internet connection is required).

You can view a PDF file in the <opt_dir>/share/doc directory (the suffix in the name indicates the language).

 

 

Details:

File Structure

Parameter Types

Rules for Traffic Monitoring (if the components for monitoring network connections are included in the used product)