Previous Topic: selang Commands in the Remote Configuration EnvironmentNext Topic: find config—List Configuration Resources


editres config—Modify Configuration Settings

Valid in the config environment

Use the editres config command to modify CA ControlMinder configuration settings.

The editres config command has different formats for different sets of files. These sets are:

This command has the following syntax for audit configuration files and PMDB filter files:

editres config name [line+|-(value)] [clear]

This command has the following syntax for all other files:

editres config name section(path) token[-](name) value[+|-](value) data_type(type)
name

Specifies the configuration resource you want to modify. To modify a PMDB filter file, specify the file name in the format pmdname@filter, for example, master_pmdb@filter.flt

Note: For a list of configuration resources for the host you are managing, use the find config command.

clear

Deletes all values from the audit configuration file or PMDB filter file.

Note: This option does not delete comments from the file.

data_type(type)

Specifies the data type of the configuration entry.

Values: str, numeric, multi_str

Default: str

Note: For UNIX, data_type can only be str. Other data types are not applicable to UNIX, as it stores configuration settings in files (text strings).

line+(value)

Defines the value you want to add to the audit configuration file or PMDB filter file.

Note: The value can be a value or a comment.

line-(value)

Defines the value you want to remove from the audit configuration file or PMDB filter file.

Note: The value can be a value or a comment.

section(path)

Defines the section of the configuration resource that you want to modify.

Note: For Windows registry settings, if you do not specify this option, the command modifies the registry key name defines.

token(name)

Defines the name of the configuration entry that you want to modify.

token-(name)

Defines the name of the configuration entry that you want to remove.

value(value)

Defines the value that you want to assign to a configuration entry. If a value for the configuration entry already exists, CA ControlMinder replaces the value with value.

If you do not specify a value, the command resets the configuration entry value.

value+(value)

(Windows REG_MULTI_SZ registry entries only) Defines the value that you want to append to a configuration entry.

(All other configuration values) Defines the value that you want to assign to a configuration entry. If a value for the configuration entry already exists, CA ControlMinder replaces the value with value.

Note: To ensure selang correctly translates the assigned value, enclose the value in quotes (" ").

value-(value)

(Windows REG_MULTI_SZ registry entries only) Defines the value that you want to remove from a configuration entry.

(All other configuration values) Specifies to remove any value from the configuration entry.

Examples: Modify ACROOT Configuration Settings on Windows

The following examples show how to modify CA ControlMinder for Windows configuration settings.

Examples: Modify seos.ini Configuration Settings on UNIX

The following examples show how to modify CA ControlMinder for UNIX configuration settings.

Example: Modify Audit Configuration File

The following example adds a line to the audit configuration file:

er CONFIG audit.cfg line+("FILE;*;Administrator;*;R;P")

Example: Modify PMD Filter File

The following example adds a line to the PMD filter file:

er config pmdb@filter line+("*;*;USER;*;OLD_PASSWD;PASS")