Kaspersky Endpoint Security 12 for Linux

Editing general application settings

July 22, 2024

ID 265724

In the command line, you can edit the general application settings using the command kesl-control --set-app-settings:

  • You can edit all general settings using the configuration file that contains the general application settings. You can get the configuration file using the command for displaying general settings.
  • You can edit individual settings using command line keys in the format <setting name>=<setting value>. You can get the current values of general application settings using the command for displaying general settings.

To edit values of general application settings using a configuration file:

  1. Output the general application settings to a configuration file.
  2. Edit the values of the necessary parameters in the file and save the changes.
  3. Execute the command:

    kesl-control --set-app-settings --file <configuration file path> [--json]

    where:

    • --file <path to configuration file> is the full path to the configuration file with the general application settings.
    • --json: specify this key if you are importing settings from a configuration file in JSON format. If the --json key is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.

All the values of the general settings defined in the file will be imported into the application.

To edit values of general application settings using command line keys, execute the following command:

kesl-control --set-app-settings <setting name>=<setting value> [<setting name>=<setting value>]

where <setting name>=<setting value> is the name and value of one of the general application settings.

The values of the specified general settings will be changed.

Examples:

Import general settings into the application from the configuration file /home/test/kesl_config.ini:

kesl-control --set-app-settings --file /home/test/kesl_config.ini

Set the detail level for the trace file to low:

kesl-control --set-app-settings TraceLevel=NotDetailed

Add a mount point that you want to exclude from interception of file operations:

kesl-control --set-app-settings ExcludedMountPoint.item_0000="/data"

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.