PreviousNext

Adding Principals

To add principals to the registry, use the principal create command. For example, the following sample command creates a principal with a primary name of mahler and a full name of gustav mahler:

dcecp> principal create mahler -fullname {gustav mahler} -quota 5
dcecp>

In the example, the UNIX number defaults to one that is generated automatically. Notice that, because the full name (gustav mahler) assigned to the principal contains a space, it is enclosed in braces.

Note that it is possible to create multiple principals with one principal create command. To do so, enclose the principal names in braces, separated by spaces. For example, to create the principals bach, britten, mahler, and satie, you could enter the following:

dcecp> principal create {bach britten mahler satie}
dcecp>

If you create multiple principals, you must allow the principal's UNIX ID to default to the system assigned ID. This is because, if you include an attribute option in the command line, that attribute value is assigned to each principal. For example, the following sample command creates the principals bach, britten, mahler and assigns each an object creation quota of 5.

dcecp> principal create {bach britten mahler satie} -quota 5
dcecp>