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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, 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=? Name of a resource user.

The value ranges from the minimum 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 characters or any of the following special characters: (/),(\),([]),(:),(;),(|),(=),(,),(+),(*),(?),(<),(>),(@). The last character cannot be a period(.).

primary_group_name=? Name of a primary resource group.

The value contains 1 to 32 characters.

user_id=? ID of a resource user.

The value ranges from 0 to 900,000.

secondary_group_names=? Name of a secondary group associated with the resource user.

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



Usage Guidelines



  • Create a resource user.

    admin:/>create resource_user general name=user01 primary_group_name=group1
    Reenter password:********
    Command executed successfully.
  • Query all resource users.

    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-22

Document ID: EDOC1000084195

Views: 361964

Downloads: 1588

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