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 9000 V100R001C01 Security Maintenance 08

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).
CLI Account Management

CLI Account Management

Creating a CLI Account

When the system is installed, a unique super administrator admin with the highest permission is automatically generated. You will not be able to create super administrators, but you can use the super administrator account to create new users. After logging in to the CLI using the super administrator account, run the following command to create an account:

create system user <name> <level> [description]

Table 2-2  Command Parameter and Keyword Description

Keyword and Parameter

Description

Value Range

name

User name

The user name can contain 4 to 31 letters, digits, hyphens (-), underscores (_), and periods (.), and the user name must start with a letter and end with a letter or digit.

level

User level

  • admin: Administrator. An administrator can manage users, file systems, rack devices, and alarms and change its own password.
  • readonly: Read-only user. A read-only user can only check information and change its own password.
  • resource_admin: Resource administrator. A resource administrator can manage file systems and alarms and change its own password but cannot manage users.
  • device_admin: Device administrator. A device administrator can manage rack devices, and alarms and change its own password but cannot manage users.

description

User description

The value contains 0 to 255 characters.

password

Password

The value contains 8 to 32 characters. The password length and complexity depend on users' security policies.

Changing a Password

Only the super administrator can initialize other users' passwords, and users at other levels can only change their own passwords.

The change system user password command is used to change users' passwords.

Change Account Levels

Only the super administrator has the permission to change a user's level. The super administrator's level cannot be changed.

The change system user mode <id> <level>command is used to change users' levels.

Querying User Information

Run show system user general to query the information about all users in the system.

Run show system user general [id] to query the information about a specified user.

Deleting an Offline User

The super administrator deletes an offline non-administrator user by running the following command:

delete system user <id>

Download
Updated: 2018-10-27

Document ID: EDOC1000042184

Views: 8629

Downloads: 183

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