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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI provided by DeviceManager, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these 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-09-02

Document ID: EDOC1000181601

Views: 321103

Downloads: 41

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