Set User Name
更新时间: 2025/06/26
在Gitcode上查看源码45h-设置BMC用户名(Set-User-Name)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
设置BMC用户名。
权限
UserMgnt
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 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 |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
命令样例
设置BMC用户名为Administrator2
请求:
ipmitool raw 0x06 0x45 0x03 0x41 0x64 0x6d 0x69 0x6e 0x69 0x73 0x74 0x72 0x61 0x74 0x6f 0x72 0x32 0x00 0x00响应: