PreviousNext

rpcgroup add

Adds a member to the specified group entry in CDS. The syntax is:

rpcgroup add rpcgroup_name_list -member member_name_list

Options

-member member_name_list
This required option declares the name of a member to be added to the specified group entry. The member_name_list argument is a list of names of one or more members to be added to all of the specified groups. (The names need not exist when they are added.) All members are added to all groups.

Description
The rpcgroup add operation adds a member to the specified group entry in the Cell Directory Service (CDS). The required rpcgroup_name_list argument is a list of one or more full CDS names of the groups to which you want to add members. The command returns an empty string on success. If member_name_list contains the names of duplicate or existing members, the duplicates are ignored and no errors are generated.

Privileges Required
You need i (insert) permission to the parent directory. You also need both r (read) permission and w (write) permission to the CDS object entry (the target group entry).

Examples
The following commands run dcecp and add the member /.:/LandS/anthro/Cal_host_3 to the group /.:/LandS/anthro/Calendar_group:

dcecp> rpcgroup add /.:/LandS/anthro/Calendar_group \
> -member /.:/LandS/anthro/Cal_host_3
dcecp>