OEM Account
更新时间: 2026/08/06
在Gitcode上查看源码OEM Account
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Customize OEM users.
This function is required only for ByteDance customization.
Privilege
UserMgmt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command = 7CH |
| 5 | Function. For details about the function number, see Table 1. |
| 6 | OEMUser ID. When the ID is saved internally, the offset 100 is added to the value. [7:4]-reserved. [3:0]-User ID |
| 7:22 | ASCII code of the user name. The length is 16 bytes and the maximum length is 16 characters. A string of less than 16 characters ends with a null (00h) character and is padded with 0s at the end to 16 bytes. |
| 23 | User Rights [7:4]-reserved [3:0]-User Privilege Limit. (Determines the maximum privilege level that the user is allowed to switch to on the specified channel.) 0h=reserved 1h=Callback 2h=User 3h=Operator 4h=Administrator 5h=OEM Proprietary Fh=NO ACCESS |
| 24 | Enabling the Login Interface bit0-Web: 0 disabled; 1 enabled bit1-SNMP: 0 disabled; 1 enabled bit2-IPMI: 0 disabled; 1 enabled bit3-SSH: 0 disabled; 1 enabled bit4-SFTP: 0 disabled; 1 enabled bit6-Local: 0 disabled; 1 enabled bit7-Redfish: 0 disabled; 1 enabled |
| 25 | First Login Policy 01h-Prompt for modification 02h: forcible modification |
| 26 | PasswordType The password is in plain text or cipher text. 01h: plaintext 02h: ciphertext, standard Linux password format |
| 27 | [7:1]: reserved [0]: cascading flag 0: last data 1: middle data |
| 28:29 | Write Offset. Offset of the data to be written. The value starts from 0. If the data is long and needs to be written for multiple times, the data must be written from the beginning to the end in sequence. |
| 30 | Length Length of the written data |
| 31+N | Password Password, which can be in plaintext or ciphertext. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
Table 1
| Function ID | Function |
|---|---|
| 01h | Adding an OEM User |
| 02h | Verifying OEM Users |
Command Example
Create an OEM administrator whose ID is 101, name is Administrator1, and password is $1$ftdliuca$weqrlweqrWqSAD (ciphertext). The system prompts you to change the password upon the first login.
Request:
bash
ipmitool raw 0x30 0x93 0xDB 0x07 0x01 0x00 0x7c 0x01 0x41 0x64 0x6D 0x69 0x6E 0x69 0x73 0x74 0x72 0x61 0x74 0x6F 0x72 0x31 0x00 0x00 0x04 0x08 0x01 0x02 0x00 0x00 0x00 0x1A 0x24 0x31 0x24 0x66 0x74 0x64 0x6C 0x69 0x75 0x63 0x61 0x24 0x77 0x65 0x71 0x72 0x6C 0x77 0x65 0x71 0x72 0x57 0x71 0x53 0x41 0x44Response:
text
db 07 00