OEM Account
更新时间: 2026/08/06
在Gitcode上查看源码

OEM Account

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial 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

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer 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.
4Sub command, sub command = 7CH
5Function. For details about the function number, see Table 1.
6OEMUser ID. When the ID is saved internally, the offset 100 is added to the value.
[7:4]-reserved.
[3:0]-User ID
7:22ASCII 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.
23User 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
24Enabling 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
25First Login Policy
01h-Prompt for modification
02h: forcible modification
26PasswordType
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:29Write 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.
30Length
Length of the written data
31+NPassword
Password, which can be in plaintext or ciphertext.

Response Information

ByteData Field
1Completion Code
2:4Manufacturer 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 IDFunction
01hAdding an OEM User
02hVerifying 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 0x44

Response:

text
db 07 00

Back to Index