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

FusionServer Pro E9000 Server iBMC (Earlier Than V250) User Guide 31

This document describes the underlying management software Intelligent Baseboard Management Controller (iBMC) of the servers.
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).
User Management Commands

User Management Commands

This topic describes all user management commands.

Querying the Information About All Users (userlist)

Function

The userlist command is used to query the information about all the users.

Format

ipmcget -d userlist

Parameters

None

Usage Guidelines

None

Example

# Query the information about all the users.

iBMC:/->ipmcget -d userlist
ID      Name               Privilege
2       root              ADMINISTRATOR
3       test              USER
4       &&                NO ACCESS
5                         NO ACCESS
6                         NO ACCESS
7                         NO ACCESS
8                         NO ACCESS
9                         NO ACCESS
10                        NO ACCESS
11                        NO ACCESS
12                        NO ACCESS
13                        NO ACCESS
14                        NO ACCESS
15                        NO ACCESS
16                        NO ACCESS
17                        NO ACCESS

Adding a User (adduser)

Function

The adduser command is used to add a user.

Format

ipmcset -d adduser -v <username>

Parameters

Parameter Description Value
username Indicates the user name to be added. The value is a string of up to 16 characters.
  • The string can contain digits, letters, and other characters excluding spaces and the following special characters:

    , \ : < > & ' " / %

  • The string cannot start with a number sign (#).

Usage Guidelines

You can add a maximum of 15 users. You are required to set passwords with different complexities for the new users based on whether the password complexity check function is enabled (queried using passwordcomplexity command).

  • When the password complexity check function is disabled, the password can be empty or a string of up to 20 characters.
  • When the password complexity check function is enabled, the password must meet the following requirements:
    • Must contain 8 to 20 characters.
    • Must contain at least one space or one of the following special characters:

      ` ~ ! @ # $ % ^ & * () - _ = + \ | [{}] ; : ' " ,<.> / ?

    • Must contain at least two types of the following characters:
      • Letters: a to z
      • Letters: A to Z
      • Digits: 0 to 9
    • Must not be the user name or the user name in reverse order.

Only the administrators can add a new user, and the password of the current user is needed.

Example

# Add a user and set the name to mytest.

iBMC:/->ipmcset -d adduser -v mytest
Input your password:
Password:
Confirm password:
Add user successfully.

# Query the user list after addition.

iBMC:/->ipmcget -d userlist
ID      Name               Privilege
2       root              ADMINISTRATOR
3       test              USER
4       &&                NO ACCESS
5       mytest            NO ACCESS
6                         NO ACCESS
7                         NO ACCESS
8                         NO ACCESS
9                         NO ACCESS
10                        NO ACCESS
11                        NO ACCESS
12                        NO ACCESS
13                        NO ACCESS
14                        NO ACCESS
15                        NO ACCESS
16                        NO ACCESS
17                        NO ACCESS

The preceding information indicates that mytest is added successfully.

Changing the User Password (password)

Function

The password command is used to change the user password.

Format

ipmcset -d password -v username

Parameters

Parameter Description Value
username Indicates the existed user whose password is to be changed. -

Usage Guidelines

You can change the passwords with different complexities based on whether the password complexity check function is enabled (queried using passwordcomplexity command).

  • When the password complexity check function is disabled, the password can be empty or a string of any characters less than 20 characters.
  • When the password complexity check function is enabled, the password must meet the following requirements:
    • Must contain 8 to 20 characters.
    • Must contain at least one space or one of the following special characters:

      `~!@#$%^&*()-_=+\|[{}];:'",<.>/?

    • Must contain at least two types of the following characters:
      • Letters: a to z
      • Letters: A to Z
      • Digits: 0 to 9
    • Must not be the user name or the user name in reverse order.

Administrators have the right to change the passwords of all users, and operators and common users have the permission to change only their own passwords. While changing the passwords, the password of the current user is needed.

Example

# Change the password of user.

iBMC:/->ipmcset -d password -v user
Input your password:
New password:
Confirm password:
Set user password successfully.

Deleting a User (deluser)

Function

The deluser command is used to delete a user.

Format

ipmcset -d deluser -v username

Parameters

Parameter Description Value
username Indicates the existed user name to be delete. -

Usage Guidelines

Only the administrators can delete a user, and the password of the current user is needed.

Example

# Delete a user whose name is test.

iBMC:/->ipmcset -d deluser -v test
Input your password:
Delete user successfully.

Setting User Rights (privilege)

Function

The privilege command is used to set user rights.

Format

ipmcset -d privilege -v <username> <privalue>

Parameters

Parameter Description Value
username Indicates the existed user whose right is to be set. -
privalue Rights
  • 15: no access rights
  • 2: the user rights
  • 3: the operator rights
  • 4: the administrator rights
  • 5: Custom Role1 rights
  • 6: Custom Role2 rights
  • 7: Custom Role3 rights
  • 8: Custom Role4 rights

Usage Guidelines

  • Only the administrators can set user rights, and the password of the current user is needed.

  • This command cannot be used to set rights of default users.

  • This command cannot be used to set the rights of online users.

Example

# Grant test with the Administrator rights.

iBMC:/->ipmcset -d privilege -v test 4
Input your password:
Set user privilege successfully.

Querying and Setting the Status of the Password Complexity Check Function (passwordcomplexity)

Function

The passwordcomplexity command is used to query and set the status of the password complexity check function.

Format

ipmcget -d passwordcomplexity

ipmcset -d passwordcomplexity -v <enabled | disabled>

Parameters

Parameter Description Value
enabled Enables the password complexity check function. -
disabled Disables the password complexity check function. -

Usage Guidelines

  • The password complexity check function is enabled by default.
  • Disabling the password complexity check function reduces the system security. Set the parameter with caution.
  • When the password complexity check function is disabled, the password can be empty or a string of any characters less than 20 characters.
  • When the password complexity check function is enabled, the password must meet the following requirements:
    • Must contain 8 to 20 characters.
    • Must contain at least one space or one of the following special characters:

      `~!@#$%^&*()-_=+\|[{}];:'",<.>/?

    • Must contain at least two types of the following characters:
      • Letters: a to z
      • Letters: A to Z
      • Digits: 0 to 9
    • Must not be the user name or the user name in reverse order.

Only the administrators can set the status of the password complexity check function.

Example

# Query the status of the password complexity check function.

iBMC:/->ipmcget -d passwordcomplexity
Password complexity check state : enabled

# Enable the password complexity check function.

iBMC:/->ipmcset -d passwordcomplexity -v enabled
Set password complexity check state successfully.

Unlocking a User (user -d unlock)

Function

The unlock command is used to unlock a user that fails to enter a correct password within the maximum allowed attempts.

Format

ipmcset -t user -d unlock -v username

Parameters

Parameter Description Value
username Specifies the name of the user to be unlocked. -

Usage Guidelines

The switch module does not support the command.

Only administrators have the permission to unlock a user.

Enter the password of the current administrator when unlocking a user.

Example

# Unlock user root.

iBMC:/->ipmcset -t user -d unlock -v root
Input your password:
Set user:root unlock status successfully.

Setting an Emergency User (emergencyuser)

Function

The emergencyuser command is used to set an emergency user, which is not restricted by any login rule.

Format

ipmcset -d emergencyuser -v username

Parameters

Parameter Description Value
username Emergency user name. -

Usage Guidelines

Only an administrator can set an emergency user.

Example

# Set root as an emergency user.

iBMC:/->ipmcset -d emergencyuser -v root
Set emergency user to (root) successfully.
Translation
Download
Updated: 2019-08-01

Document ID: EDOC1000058833

Views: 206784

Downloads: 1935

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