PreviousNext

Starting, Stopping, and Getting Help

The registry editor runs in two modes: interactive and command line. In interactive mode, the control program prompts you for the information that it needs. In command-line mode, you enter all of the information that the control program needs on the command line. In command-line mode, you can perform only one operation at a time; however, you may find command-line mode useful for creating shell scripts that execute a sequence of registry editor commands. Most of the examples in this guide are in interactive mode. (See the rgy_edit(8sec) reference page for information on how to invoke and use the registry editor in command-line mode.)

To start the registry editor in interactive mode, enter the following command:

$ dceshared/bin/rgy_edit

The registry editor responds by displaying the name of the current registry site and the rgy_edit=> prompt, as follows:

Current site is:

registry server at /.../bayre.com/subsys/dce/sec/oddball

rgy_edit=>

If the name service is unable to provide the name, the output is shortened. For example, instead of

registry server at /.../bayre.com/subsys/dce/sec/oddball

the display would be

registry server at /.../bayre.com

To exit from a rgy_edit command, press <Return> at the command prompt. For example, to exit from the add command to add principals, press <Return> at the Add Principal=> Enter name: prompt.

To exit from the registry editor, enter the q[uit] command at the rgy_edit prompt:

rgy_edit=> q
$

The rgy_edit help command displays help information. If you enter help or h, the registry editor displays a list of all commands and available topics. For example:

rgy_edit=> help