<html>

<head>

<title>registry modify</title></head>

<body  BGCOLOR="#ffffff">

<table border="0">

<td width="10">&nbsp;</td>

<td>

<a href="Comre499.htm"><img src="./prev.gif" border="0" alt="Previous" WIDTH="32" HEIGHT="32"></a><a href="Comre501.htm"><img src="./next.gif" border="0" alt="Next" WIDTH="32" HEIGHT="32"></a><p>

<h4>     registry modify<p>

</h4>Changes attributes of the registry.  The syntax is:<p>

<b>registry modify </b>[<i>registry_replica_name</i>]<b> </b>{<b>-change </b><i>attribute_list</i><b> | </b><i>attribute value </i><b>|</b><i> </i>-<b>key</b>}</i></b><p>

<b>Options</b></b><p>

<i>-attribute value</i> <br>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 <a href="Comre483.htm">Attributes</a> topic of this reference page.<b> 

</i></b><p>

<b>-change </b>
<i>attribute_list <br></i>
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:</i>
</b>
<p>

 	{{<i>attribute value</i>}<b>&#133;</b>{<i>attribute value</i>}}<b></i></b><p>

<b></b>The <b>-change</b> option cannot be used with the -<b>key</b> option.</b><p>

<b>-key <br></b>Generates a new master key for the replicas listed as the argument.  Cannot be used with the -<b>change</b> option.</b><p>

<b>Description</b> <br>The <b>registry modify</b> operation changes attributes of the registry.  The <i>registry_replica_name</i> is required for the -key option but optional for all 

other options.  If an argument is not supplied and the <b>_s(sec)</b> variable is not set, the operation defaults to master in the local cell.  The command returns an empty string on success. 

</i></b><p>

Use the <b>-change</b> option to modify the value of any one of the attributes using an attribute list format.  Alternatively, you can specify an <i>attribute_options</i> argument of the 

following form: 

</i></b><p>

The operation also accepts the <b>-key</b> 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 <b>-key</b> 

option, you must specify <i>registry_replica_name</i>. 

</i></b><p>

The -<b>change</b> option and the -<b>key</b> option cannot be used together.</b><p>

This operation sets the <b>_b(sec)</b> variable to the replica to which it binds.</b><p>

<b>Privileges Required</b> <br>You must have <b>A</b> (<b>admin</b>) permission to the <b>replist</b> object.</b><p>

<b>Examples</b></b><p>

dcecp&gt;<b> registry modify -version secd.dce.1.1 <br></b>dcecp&gt;  <br> <br>dcecp&gt; <b>registry modify -change </b>{<b>deftktlife +0-08:00:00.000I-----</b>} 

<br>dcecp&gt; 

</b><p>

<h4><b></h4></b><p>

<b></b></b><p>

</td>

</table>

</body></html>

