subtool

A utility to control the subd daemon that runs on every dominated system.

The subtool utility may be used to debug and control a running subd. Subtool may be run on any machine and can be used to manipulate various operating parameters of a running subd and perform RPC requests. It is typically run on a desktop or bastion machine.

Usage

Subtool supports several sub-commands. There are many command-line flags which provide parameters for these sub-commands. The most commonly used parameter is -subHostname which specifies which host the subd to control is running on. The basic usage pattern is:

subtool [flags...] command [args...]

Built-in help is available with the command:

subtool -h

Some of the sub-commands available are:

Note that sub-commands which change the configuration of subd may be reverted by the dominator. Thus, it may be more appropriate to use the dominator to change the configuration of all the subd instances in the fleet.

Security

Subd restricts RPC access using TLS client authentication. Subtool will load certificate and key files from the ~/.ssl directory. Subtool will present these certificates to subd. If one of the certificates is signed by a certificate authority that subd trusts, subd will grant access.