Set User Name
更新时间: 2026/08/06
在Gitcode上查看源码Set User Name
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Set the BMC user name.
Privilege
UserMgnt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | App 06h |
| CMD | 45h |
| 1 | User ID [7:6]-reserved. [5:0]-User ID. 000000b=reserved. (User ID 1 is permanently associated with User 1, the null user name) |
| 2 | User Name String in ASCII, 16 bytes, max. Strings with fewer than 16 characters are terminated with a null (00h) character and 00h padded to 16 bytes. When the string is read back using the Get User Name command, those bytes shall be returned as 0's |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
Command Example
Set the BMC user name to Administrator2.
Request:
bash
ipmitool raw 0x06 0x45 0x03 0x41 0x64 0x6d 0x69 0x6e 0x69 0x73 0x74 0x72 0x61 0x74 0x6f 0x72 0x32 0x00 0x00Response:
text