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).
show resource_user general

show resource_user general

Function

The show resource_user general command is used to query the information of resource user(s).

Format

show resource_user general [ user_id=? | group_id=? ]

Parameters

Parameter

Description

Value

user_id=? The ID of a resource user.

The value ranges from 0 to 900,000.

group_id=? The ID of a resource group.

The value ranges from 0 to 900,000.

Level

Guest

Usage Guidelines

This command does not support OceanStor 2200 V3 storage system.

Example

  • To query the information of 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
    100007 user02 100001 group1 Create Yes 180
    100008 user03 100000 default_group Create Yes 180
    100009 user04 100000 default_group Create Yes 180
  • To query the information of a resource user, run the following command.

    admin:/>show resource_user general user_id=100006
    User ID : 100006
    User Name : user01
    Description :
    Primary Group ID : 100001
    Primary Group Name : group1
    Secondary Group Names :
    User Type : Create
    Status Enabled : Yes
    Passwd Expired Time(Days):180
  • To query the information of a resource user, run the following command.

    admin:/>show resource_user general group_id=100000
    User ID User Name Primary Group ID Primary Group Name User Type Status Enabled Passwd Expired Time(Days)
    ------- --------- ---------------- ------------------ --------- -------------- ------
    100008 user03 100000 default_group Create Yes 180
    100009 user04 100000 default_group Create Yes 180

System Response

The following table describes the parameter meanings.

Parameter

Meaning

User ID

Indicates the ID of the resource user.

User Name

Indicates the name of the resource user.

Description

Indicates the description.

Primary Group ID

Indicates the ID of the primary group of the resource user.

Primary Group Name

Indicates the name of the primary group of the resource user.

Secondary Group Names

Indicates the names of the secondary groups of the resource user.

User Type

Indicates the type of the resource user.

Status Enabled

Indicates the switch of the resource user status.

Passwd Expired Time

Indicates the password expried time of the resource user.

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 262112

Downloads: 178

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