The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
The Command Line Program (that is, sacmd.cmd (Windows) or sacmd.sh (Unix/Linux) is equipped with the following two property files that allow you to customize its behavior:
Both files can be found in the config directory under the installation directory.
The tescmd.props property file defines properties involving runtime environment and visual effects.
Property Name |
Description |
---|---|
Specifies a directory path pointing to the Java Runtime for launching the SACmd. This property is set up by the InstallShield installer of the sacmd.cmd (Windows) or sacmd.sh (Unix/Linux) program. |
|
Specifies whether to execute Unix 'id' command to gather user info. Default is false. The sacmd.cmd (Windows) or sacmd.sh (Unix/Linux) program has the ability to persist credential you enter for connecting to the Client Manager so you don't need to enter again. This is especially useful if you plan to run sacmd.cmd (Windows) or sacmd.sh (Unix/Linux) in batch mode (referred to as Single Command Mode in this guide) within your batch script. The program uses context information unique to the login user to encrypt sensitive data so no one else can comprise its secrecy. By default, this user info is gathered using javax.security.auth.login.LoginContext API. If the runtime platform is a Unix/Linux system and, for any reason, it does not fully support this API, you can set this property to true and the sacmd.cmd (Windows) or sacmd.sh (Unix/Linux) program will gather user info by the 'id' command instead. |
|
Specifies the text prompt to display at startup, and upon completion of each command execution. Default is SACmd . |
|
Specifies the number of lines to display per page. Default is 50. |
|
Specifies the style in which to display command results. Valid styles are: Default is table. You can change it to any of the three values depending on your need. For example, you may choose xml style if you wish to feed the command result into your application capable of processing the xml document. |
|
Specifies fully qualified path of the SSL trust store to be used if you wish to connect SACmd to a SSL enabled Client Manager. This property is commented out by default. |
This property file defines formatting properties for table style command results. It is effective only if value of the Style property in tescmd.props is set to table . For each listed SACmd, you can customize columns to display as well as title, width and alignment of each column.
For example, to change alignment of the column active of the agent -C LIST command to left (default is "center"), you can specify the following:
Note You should not modify this file directly. Editing this file will not have any effect on the SACmd. Instead, create a custom property file by following the procedure described in the header of the table.props. When starting SACmd, supply this custom property file by using the -table_props option.