Appendix D. Configuration File

Configuration parameters of all Dr.Web for UNIX servers 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 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 (drweb-configd) in order to apply the changes.

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 root privileges. To gain root privileges, use su or sudo command.

For details on the cfshow and cfset command syntax of the console management tool Dr.Web Ctl (drweb-ctl module), refer to the "Dr.Web Ctl" section of the 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 reside (including executable files and libraries).

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

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

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

Operating system

Convention

Real path

GNU/Linux

<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

 

 

 

Solaris

<opt_dir>

The paths are the same as for GNU/Linux.

<etc_dir>

<var_dir>

For space considerations, examples given in the present document use paths for GNU/Linux OS. In some places of the document, where it is possible, examples contain real paths for all of the OSes.

Access to Manual

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

on Doctor Web website at http://download.drweb.com/doc/?lng=en (requires a valid Internet connection)

as the PDF file residing in <opt_dir>/share/doc directory (the suffix in the file name determines the language of the document).

 

Details:

File Structure

Parameter Types