Command-specific options
To set default options that are always prepended to a specific command’s arguments, set an environment variable named<COMMAND>_OPTIONS.
For example, to always run Kerb with -vv:
- Linux
- Windows
- Linux
- Windows
Global parameter defaults
Because parameter names are consistent across all Titanis commands, you can set a global default for any parameter using an environment variable namedTITANIS_DEFAULT_<PARAM>.
For example, to set the default log level to diagnostic:
- Linux
- Windows
Common global defaults
| Variable | Description |
|---|---|
TITANIS_DEFAULT_LOGLEVEL | Default log verbosity level |
TITANIS_DEFAULT_LOGFORMAT | Default log output format |
TITANIS_DEFAULT_WORKSTATION | Workstation name reported during authentication |
TITANIS_DEFAULT_KDC | Default KDC address |
TITANIS_DEFAULT_REALM | Default Kerberos realm |
TITANIS_DEFAULT_USERNAME | Default user name |
TITANIS_DEFAULT_PASSWORD | Default password |
TITANIS_DEFAULT_USERDOMAIN | Default user domain |
KRB5CCNAME support
The-TicketCache parameter accepts a default value through either of the methods above. It also checks the standard KRB5CCNAME environment variable.
KRB5CCNAME set, all commands that use -TicketCache will read from and write to this file automatically. If the file does not exist, it is created when the first ticket is requested. Titanis detects whether to create it as a .kirbi or .ccache file based on the extension.
See Environment setup for recommendations on structuring per-identity credential files and global defaults.