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).
Locking a User (user -d lock)
Function
The lock command is used to lock a specified user. The locked user cannot log in to the system.
Format
ipmcset -t user -d lock -v username
Parameters
Parameter |
Description |
Value |
---|---|---|
username |
Specifies the name of the user to be locked. |
- |
Usage Guidelines
Only administrators have the permission to lock a user.
Enter the password of the current administrator when locking a user.
Example
# lock user admin.
iBMC:/->ipmcset -t user -d lock -v admin Input your password: Lock user:admin successfully.