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

Get Account Service Configuration

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

This interface is used to query user service configurations.

Privilege

UserMgmt: The permission for querying the session mode, session timeout interval, and maximum number of sessions is ReadOnly.

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, subcommand=76h
5Function. For details about the function ID, see Table 1.
6Function param: function parameter corresponding to each function. For details about the value range, see Table 1.

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.
5Indicates the length of the queried configuration information. The value is N.
6:5+NResponse result. For details, see Table 2.

Table 1 Function number parameters

Function IDFunctionFunctions and specifications
01hWhether weak password check is enabledThis is a reserved field and has no meanings.
02hPassword Change Policy upon First LoginUser ID,
[7]:[6]: reserved
[5]:[0]: Userid
03hChecking Historical User PasswordsThis is a reserved field and has no meanings.
04hTimeout period for a web sessionThis is a reserved field and has no meanings.
05hEmergency Login UserThis is a reserved field and has no meanings.
06hInitial Password Prompt SwitchThis is a reserved field and has no meanings.
07hPassword Complexity Requirement-
08hRegular expression for password verification-
09hSession ModeSession type,
00h – Web
01h – Redfish
02h - CLI (Only the timeout period can be set.)
04h – KVM
05h – VNC
07h – VIDEO
0AhTimeOut
0BhMaximum number of sessions

Table 2 Function response result

Function IDFunctionStatus code,
01hWeak password check00h: Weak password check is disabled.
01h: Weak password check is enabled.
02hPassword change policy upon the first login00h: The system prompts you to change the password.
01h: forcible password change
03hHistorical user password check00h: The historical password is not verified.
01h: Verify a historical password.
The maximum value is 5.
04hWeb timeout durationWeb timeout period (5-480 minutes), MSB first
Unit: minute
Value range: 5 to 480
05hEmergency Login User00h: No emergency login user is set.
02h-11h: emergency login user ID
06hInitial Password Prompt Switch00h: The initial password is not prompted.
01h: initial password prompt (default)
07hPassword Complexity Requirement01h: The default BMC rules are used for password verification.
02h: Use a customized regular expression to verify the password.
03h: Use the default BMC rules and customized regular expressions for password verification.
08h--
09hSession Mode00h: sharing
01h: exclusive
0AhSession timeout periodTimeout period MSB first:
Web: 0005h-01e0h-(5-480) min timeout
Redfish: 0000001eh-00015180h– (30-86400) second timeout interval
CLI: 0000h-01e0h-(0-480) min Timeout
KVM: 0000h-01e0h-(0-480) min Timeout
VNC: 0000h-01e0h-(0-480) minutes Timeout interval
VIDEO: 0000h-01e0h-(0-480) min timeout
Note: The value 0 indicates that the session never times out.
0BhMaximum number of sessionsWeb: 04h ~14h-(4-20)
Redfish: 0ah ~14h-(10-20)
KVM: 02h-(2)
VNC: 05h-(5)
VIDEO: 01h-(1)

Command Example

Query the user service configuration. Weak Password Check Enabled

Request:

bash
ipmitool raw 0x30 0x93 0xDB 0x07 0x00 0x76 0x01 0xff

Response:

text
db 07 00 01 01

Back to Index