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

Reminder

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

upgrade

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 user

create user

Function

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.

Format

create user type=? user_name=? level=? [ role_id=? ]

Parameters

Parameter

Description

Value

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 for which spaces are expressed in "\s", the start and end characters cannot be spaces, and double quotation marks (") and single quotation mark (') and question mark (?) are excluded.
level=? Level of a user or user group.

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

  • "super_admin": indicates a user at the super administrator level.
  • "admin": administrator.
  • "guest": read-only user.
NOTE:
The "super_admin" parameter is available only when "type" is set to "local".
role_id=? User role ID.

1.The value of role_id is fixed to 9 for backup administrator.2.This parameter can be selected only when the local user and level is an administrator or a read-only user.

Level

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.
NOTE:
You can use the "change safe_strategy" command to change the password and login policies of a storage system.

Example

  • Create local administrator "testuser".

    admin:/>create user type=local user_name=testuser level=admin
    Password:*********
    Reenter password:*********
    Command executed successfully.
    CAUTION: The user has been successfully created. The user can log in to the storage system after one minute.

System Response

None

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084195

Views: 300542

Downloads: 1561

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