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.


OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference 06

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

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 user

create user


The create user command is used to create users or user groups. You can create different levels of users to manage and utilize the storage system by running this command.


create user type=? user_name=? level=?





type=? Type of a user.

The value can be "local", "domain_user", or "domain_group", where:

  • "local": local user.
  • "domain_user": domain user.
  • "domain_group": domain group.
user_name=? Name of a user or user group.
  • For a local user, the value must start with a letter and contain 5 to 32 ASCII characters including digits, letters, and underscores (_).
  • For a domain user or a domain group, the value contains 1 to 64 ASCII characters, The value cannot start or end with a space, and cannot contain double quotation marks ("), single quotation mark ('), or question mark (?).
level=? Level of a user or user group.

The value can be "super_admin", "admin" or "guest", where:

  • "super_admin": super administrator.
  • "admin": administrator.
  • "guest": read-only user.
The "super_admin" parameter is available only when "type" is set to "local".


Super administrator

Usage Guidelines

  • This command provides an interactive mode for entering passwords. When you are entering a password, the password is displayed behind asterisks.
  • The password consists of 8 to 16 characters and is case-sensitive.
  • The password must contain special characters including ` ~ ! @ # $ % ^ & * ( ) - _ = + \ | [ { } ] ; :' " , < . > / ? and spaces.
  • The password must meet the following password complexity requirements:
    • When "password complex" is set to "Normal", the password must contain at least two of the following three: lowercase letters, uppercase letters, and digits.
    • when "password complex" is set to "High", the password must contain lowercase letters, uppercase letters, and digits.
  • The password must be different from the username and mirror writing of the username.
  • One character cannot appear for more than three times consecutively.
You can use the "change safe_strategy" command to change the password and login policies of a storage system.


Create local administrator "testuser".

admin:/>create user type=local user_name=testuser level=admin
Reenter password:*********
Command executed successfully.

System Response


Updated: 2019-07-22

Document ID: EDOC1000106139

Views: 365395

Downloads: 240

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next