Get Local User password complexity check Enable
更新时间: 2025/06/26
在Gitcode上查看源码21h-获取口令复杂度配置(Get-Local-User-password-complexity-check-Enable)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取口令复杂度配置。
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 4 | Sub command,子命令=0x21h |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID,LS Byte first。长度固定3个字节,例如,某厂家ID是2011,对应十六进制为0x0007DB,则字节序为第1个字节为DBh、第2个字节为07h、第3个字节为00h。 |
| 5 | Local User password complexity check Enable: 00h-Disable 01h-Enable reversibly, can be disabled again 02h-Enable irreversibly, cannot be disabled again Other-Reserved |
命令样例
获取口令复杂度配置
请求:
ipmitool raw 0x30 0x93 0xDB 0x07 0x00 0x21响应:
db 07 00 01