Configuring the use of Kaspersky Security Network in the command line

You can enable or disable the use of Kaspersky Security Network in the command line by using the UseKSN option in the general application settings.

You can change the value of UseKSN with the help of command line switches or a configuration file that contains all general application settings.

To enable the use of Kaspersky Security Network with the help of command line switches, run:

kics-control --set-app-settings UseKSN=<Extended/Basic> --accept-ksn

where:

The file ksn_license.<language ID> containing the text of the Kaspersky Security Network Statement is located in the directory /opt/kaspersky/kics/doc/.

To disable the use of Kaspersky Security Network with the help of command line switches, run:

kics-control --set-app-settings UseKSN=No

To enable or disable use of Kaspersky Security Network with a configuration file, execute the following command:

kics-control --set-app-settings --file <configuration file name> [--json] [--accept-ksn]

where:

If Kaspersky Industrial CyberSecurity for Linux Nodes installed on a client device runs under a Kaspersky Security Center policy, the value of the UseKSN parameter can only be changed in Kaspersky Security Center. When Kaspersky Industrial CyberSecurity for Linux Nodes installed on a client device stops running under a policy, the UseKSN=No value is assigned to the parameter.

In this section

Checking the connection to Kaspersky Security Network using the command line

Enabling and disabling cloud mode from the command line

Page top