set-config-prop

Syntax

set-config-prop common_options --config=config_name (property_name=property_value)+

Description

Use this command to set the configuration file properties.

Options

For information about common_options, run the help command.

--config|-c

Specify the name of the configuration for which you want to change properties.

Operands

property-name=property-value

Specify name=value pairs for one or more properties that you want to define. The name=value pairs should be separated by spaces.

You can set the following configuration file properties:

user: Specifies the user ID with which the server runs.
Values: User ID

temp-path: Specifies the location where the server stores its temporary files.
Values: Any valid directory.

webapp-firewall-ruleset: Specifies the location where the Web Application Firewall (WAF) ruleset files are stored.
Values: Any valid directory where the WAF ruleset files are stored.

Note:

The property webapp-firewall-ruleset enables you to specify multiple values, with each value enclosed in quotes and separated by commas. For example: webapp-firewall-ruleset="ruleset/vschola/*.conf","/scratch/sababu/waf rules/rule2.conf"

To reset a property to its default value, do not provide a property value.
For example, property-name=<empty_string>

Example

tadm set-config-prop --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 
--no-prompt --config=www.example.org user=otd_user

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, get-config-prop