Appendix C. Configuration
In order to connect to the RT server, rt
needs a few pieces of information. The essential information rt
requires is a server to connect to and access information for that server, but several other nonessential variables also are useful to know. Table C-1 lists the available configuration options.
Table C-1. Command-line configuration options
Option |
Required |
Description |
---|---|---|
Server name |
yes |
Specify which RT server to access. This should be a valid hostname. (If you can successfully |
User |
yes |
A valid username with access to the server defined. |
Password |
yes |
The appropriate password for the username defined. |
Order by |
no |
How to arrange the results of the query for actions that produce results. |
Query string |
no |
A default query to use when an action requires a query but one isn’t specified. |
Debug level |
no |
A numeric value from |
Configuration file |
no |
Tells rt to use a specific configuration file rather than search for the default .rtrc. |
Text editor |
no |
Sets which editor to use when working from the command line. Defaults to |
You can provide the above information to rt
using environment variables
or a configuration file, typically .rtrc. The configuration file can’t define ...
Get RT Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.