ipmcset -t user -d osadminprivilege
更新时间: 2026/07/16
在Gitcode上查看源码

ipmcset -t user -d osadminprivilege

返回总览 | 返回命令索引

命令功能

设置主机侧管理员权限启用状态

命令格式

text
ipmcset -t user -d osadminprivilege -v <option>

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
optionReqBodyinteger-[{"Type": "Enum", "Formula": [0, 1]}]0 Disable execution of administrator-only commands on the host side 1 Enable execution of administrator-only commands on the host side

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
optionRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1Property/bmc/kepler/AccountServicebmc.kepler.AccountService-{"OSAdministratorPrivilegeEnabled": "${Statements/GetOption()}"}-

使用示例

text
ipmcset -t user -d osadminprivilege -v <option>

输出样例

输出样例来源: interface_config/cli/echoes/ipmcset/user_osadminprivilege, interface_config/cli/echoes/

来源信息

ItemValue
命令类型ipmcset
targetuser
dataitemosadminprivilege
URI/cli/v1/user/osadminprivilege
Interface TypePatch
配置来源interface_config/cli/ipmcset/user.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37