OSF DCE Administration Guide--Core Components
DCE Control Program Introduction
% dcecp -c cell show
{secservers
/.../my_cell.goodco.com/subsys/dce/sec/master}
{cdsservers
/.../my_cell.goodco.com/hosts/krypton}
{dtsservers
/.../my_cell.goodco.com/hosts/mars}
{hosts
/.../my_cell.goodco.com/hosts/earth
/.../my_cell.goodco.com/hosts/jupiter
/.../my_cell.goodco.com/hosts/kyrpton
/.../my_cell.goodco.com/hosts/mars
/.../my_cell.goodco.com/hosts/mercury
/.../my_cell.goodco.com/hosts/neptune
/.../my_cell.goodco.com/hosts/pluto
/.../my_cell.goodco.com/hosts/saturn
/.../my_cell.goodco.com/hosts/uranus
/.../my_cell.goodco.com/hosts/venus}
%
You can also enter some limited multiple operations using the ; (semicolon) as a
command separator and enclosing the operations in "" (double quotes). The following
example adds a principal to the registry and then checks that the principal is added:
% dcecp -c "principal create S_Preska ; principal show S_Preska"
{fullname {}}
{uid 28}
{uuid 0000001c-dc77-21cd-b700-0000c08adf56}
{alias no}
{quota unlimited}
%
Be careful entering multiple operations via the dcecp command with the -c option
because operation results return to the dcecp interpreter, not to the shell. An operation
like the following returns the results of just the last operation (group list users) to the
shell:
% dcecp -c "group list staff; group list managers; group list users"
/.../ward_cell.osf.org/P_Pestana
/.../ward_cell.osf.org/R_Parsons
/.../ward_cell.osf.org/L_Jones
/.../ward_cell.osf.org/S_Preska
/.../ward_cell.osf.org/N_Long
/.../ward_cell.osf.org/D_Witt
/.../ward_cell.osf.org/C_Pilat
.
.
.
%
124243 Tandem Computers Incorporated 1−5