omni::telemetry::kAllowRootSetting

Defined in omni/structuredlog/Telemetry.h

constexpr const char *const omni::telemetry::kAllowRootSetting = "/telemetry/allowRoot"

This allows the transmitter to run as the root user on Linux.

The root user is disabled by default because it could make some of the transmitter’s files non-writable by regular users. By default, if the transmitter is launched as the root user or with sudo, it will report an error and exit immediately. If it is intended to launch as the root or super user, this option must be explicitly specified so that there is a clear intention from the user. The default value is false. This setting is ignored on Windows.