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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"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 resource_user general

create resource_user general

Function

The create resource_user general command is used to create a resource user.

Format

create resource_user general name=? primary_group_name=? [ user_id=? ] [ secondary_group_names=? ]

Parameters

Parameter

Description

Value

name=? The name of a resource user.

The value consists of 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(.).

primary_group_name=? The name of a primary resource group.

The value contains 1 to 32 characters.

user_id=? The ID of a resource user.

The value ranges from 0 to 900,000.

secondary_group_names=? 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 using commas (,).

Level

Administrator

Usage Guidelines

This command does not support OceanStor 2200 V3 storage system.

Example

  • To create a resource user, run the following command.

    admin:/>create resource_user general name=user01 primary_group_name=group1
    Password:********
    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

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 262329

Downloads: 178

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