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

Huawei Server Maintenance Manual 09

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).
Adding a User (adduser)

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.

Translation
Download
Updated: 2019-02-25

Document ID: EDOC1000041338

Views: 82875

Downloads: 3886

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