2.0;crrgy (create_registry), revision 2.0, 83/02/22
CRRGY (CREATE_REGISTRY) -- Create or modify network registry.
usage: CRRGY {-R rgypath | [-S | -A | -D site...] | -LOC | -SEC | -EX |
-COUNT n | -DAYS n}
FORMAT
CRRGY [options]
CRRGY allows you to create a network registry, create a local registry on the
master node, or change registry sites. For complete information about
both network and local registries, see Administering Your DOMAIN System.
OPTIONS
At least one of the following options must be specified.
-R rgypath Specify the pathname of the new registry object you want to
create or the registry on which you want to operate. If
you provide just a node name (//node), CRRGY creates the
registry "//node/registry/rgy_master", or CRRGY uses the
file //'this_node'/registry/registry to locate the master
registry. If you omit a pathname, CRRGY creates
"//'this_node'/registry/rgy_master." We recommend that you
specify only a node name.
Default if omitted: create //this_node/REGISTRY/RGY_MASTER
-S site... Create new site(s). 'site' specifies the pathname of the
registry directory you want to create. Multiple sites are
permitted, separated by blanks. Files created at the sites
are filled with default identities. The new sites are
included in the new registry master file. If you do not
specify -S, and you are creating a registry,
"//'this_node'/registry/rgy_site" is used. Sites may be
located anywhere in the network. This option is not valid
for local registries.
-A site... Add site name(s) to the existing registry specified by the
-R option. This command creates a directory at the site,
copies all the registration data files to the directory,
and adds the site names to the master file. This option is
not valid for local registries.
-D site... Delete site name[s] in the existing registry master file
specified by the -R option. The master registry file
reflects the change but the registry file copies
('/registry/registry') do not. This option is not valid
for local registries. The site directories are NOT
deleted; their names are removed from the registry file.
-LOC Create a local registry. The only valid pathnames for a
local registry are the following default names:
"//'node'/registry/local_registry" for the master, and
"//'node'/registry/local_site" for the site.
Thus, you should only specify a root name ("//node") with
the -R option and let all other defaults apply.
-EX Specify that the given sites already exist. Do not create
the sites specified, just include their names in the
registry master file. You may use this option to create a
replacement registry master file that points to existing
sites or to add existing site names to an existing master
file (-A). No check is made to ensure that the sites
really do exist. The site names must be full pathnames
when you use this option.
-SEC Set secure passwords to a minimum length of six characters.
This option is not valid for local registries.
-COUNT n Specify the number of slots (n) to create in a local
registry account file. The default number is 25; minimum
is 5. This option requires -LOC. Nodes serving diskless
partners should have enough entries to allow slots for the
users of the diskless nodes.
-DAYS n Specify number of days (n) during which an entry in a local
registry account file will remain valid after login. The
default number is 21; maximum is 60. This option requires
-LOC.
EXAMPLES
$ crrgy -loc -count 50 -days 30 Create a new local registry with
$ spaces for 50 account entries
which will each be valid for
30 days after login. Previous
local registry accounts are lost.