user createCreates a principal name, an account, and a directory in CDS for a single DCE user. The syntax is:
user create user_name_list -mypwd password -password password Options
-attribute_value
-attribute attribute_list {{attribute_value} {attribute_value}}
-force
-group group_name
-mypwd password
-organization organization_name
-password password
Description This command creates a principal and an account for that principal. If either previously exist an error is generated. The principal is then added to the specified group and organization. Since the principal is created, it cannot have been a member of either. If the group or organization does not exist an error is generated unless the -force option is used. Creates a CDS directory called /.:/users/principalname and adds an ACL entry to the default ACL so that the user has rwtci permissions on the directory. This allows all access except for deleting the directory and administering replication on the directory. Attributes and policies for the newly created principal and account can be specified with the -attributes option, and specifying an attribute list as the value, or with attribute options. This command attempts to add any unknown attributes as ERAs on the created principal object. Policies of the organization cannot be specified as these would probably affect more than just the created user. The required group and organization names can be specified either as attributes in the -attributes option, or in the -group and -organization options. The required password attribute can be provided as in the account create command, and the -mypwd option is also required.
Privileges Required · To create the principal name, you must have i (insert) permission to the directory in which the principal is to be created. · If the specified groups or organizations do not already exist and you use the -force option, you must have i (insert) permission to the directories in which the groups and organizations are to be created. · To create the account, you must have m (mgmt_info), a (auth_info), and u (user_info) permissions to the principal named in the account, r (read) permission to the organization named in the account, r (read) permission to the group named in the account, and r (read) permission on the registry policy object. · To create the directory in CDS you must have the following permissions: - r (read) and i (insert) permission to the parent directory; - w (write) permission to the clearinghouse in which the master replica of the new directory is to be stored.
Examples
dcecp> user create K_Parsons -mypwd osfosf! -password change.me \
|