No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
create resource_user general

create resource_user general


The create resource_user general command is used to create a resource user.


create resource_user general name=? primary_group_name=? [ user_id=? ] [ secondary_group_names=? ]






Name of a resource user.

The value consists of the minimal length of a user name (view the minimum length by running the show resource_user safe_strategy command) to 32 characters, and cannot contain spaces, control character or any of the following special characters: "/\[]:;|=,+*?<>@. The last character cannot be a period (.).

Run the "show resource_user general" command to query the resource users in the current system.


Name of a primary resource group.

The value contains 1 to 63 characters.

Run the "show resource_group general" command to obtain the value.


ID of a resource user.

The value ranges from 0 to 900,000.

Run the "show resource_user general" command to query the resource users in the current system.


Secondary group associated with the resource user.

A maximum of 99 secondary group names can be specified, and they must be separated from each other using commas (,).



Usage Guidelines



  • To create a resource user, run the following command.
    admin:/>create resource_user general name=user01 primary_group_name=group1 
    Reenter password:******** 
    Command executed successfully.
  • To query all resource users, run the following command.
    admin:/>show resource_user general 
    User ID User Name Primary Group ID Primary Group Name User Type Status Enabled  Passwd Expired Time(Days) 
    ------- --------- ---------------- ------------------ --------- --------------  -------------- 
    100006 user01 100001 group1 Create Yes 180

System Response


Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 317920

Downloads: 38

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next