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

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

show resource_user general

Function

The show resource_user general command is used to query the information of resource users.

Format

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

Parameters

Parameter

Description

Value

user_id=? ID of a resource user.

The value ranges from 0 to 900,000.

group_id=? ID of a resource group.

The value ranges from 0 to 900,000.

Level

Guest

Usage Guidelines

None

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(Days)

Indicates the password expiration time of the resource user.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 380122

Downloads: 54

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next