PreviousNext

registry modify

Changes attributes of the registry. The syntax is:

registry modify [registry_replica_name] {-change attribute_list | attribute value | -key}

Options

-attribute value
As an alternative to using options with an attribute list, you can change individual attribute options by prepending a hyphen (-) to any attributes listed in the Attributes topic of this reference page.

-change attribute_list
Allows you to modify attributes by using an attribute list rather than using individual attribute options. The format of an attribute list is as follows:

{{attribute value}{attribute value}}

The -change option cannot be used with the -key option.

-key
Generates a new master key for the replicas listed as the argument. Cannot be used with the -change option.

Description
The registry modify operation changes attributes of the registry. The registry_replica_name is required for the -key option but optional for all other options. If an argument is not supplied and the _s(sec) variable is not set, the operation defaults to master in the local cell. The command returns an empty string on success.

Use the -change option to modify the value of any one of the attributes using an attribute list format. Alternatively, you can specify an attribute_options argument of the following form:

The operation also accepts the -key option to generate a new master key for a single replica named in the argument and to re-encrypt that registry's account keys using the new master key. The new master key is randomly generated. Each replica (master and slaves) maintains its own master key, which is used to access the data in its copy of the database. If you use the -key option, you must specify registry_replica_name.

The -change option and the -key option cannot be used together.

This operation sets the _b(sec) variable to the replica to which it binds.

Privileges Required
You must have A (admin) permission to the replist object.

Examples

dcecp> registry modify -version secd.dce.1.1
dcecp>

dcecp> registry modify -change {deftktlife +0-08:00:00.000I-----}
dcecp>