group create
Creates a new group in the registry database. The syntax is:
group create group_name_list {-attribute extended_rgy_attr_list | attribute value}
Options
-attribute value As an alternative to using the -attribute option with an attribute list, you can change individual attribute options by prepending a - (hyphen) to any
attributes listed in Attributes in this reference page. You cannot use this option to specify ERAs; it is only for the standard attributes described in
Attributes.
-attribute extended_rgy_attr_list Allows you to specify attributes, including ERAs, by using an attribute list rather than using the -attribute value option. The
format of an attribute list is as follows:
{{extended_rgy_attr_list value}
{extended_rgy_attr_list value}}
See the OSF DCE Administration Guide for more information on ERAs.
Description The group create operation creates a new group in the registry database. The argument is a list of names of groups to be created. Options are used to
specify the attributes of the newly created group. All options are applied to all groups in the argument. This operation returns an empty string on success.
Privileges Required You must have i (insert) permission to the directory in which the group is to be created.
Examples
dcecp> group create users4 -attribute {fullname "temporary users"} dcecp>
|