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 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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

primary_group_name=? Name of a primary resource group.

The value contains 1 to 63 characters.

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

user_id=? 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_names=? 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: 2020-01-17

Document ID: EDOC1000181601

Views: 381853

Downloads: 56

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next