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

ipmcset -t user -d passwordrulepolicy

返回总览 | 返回命令索引

命令功能

设置密码复杂度检查模式

命令格式

text
ipmcset -t user -d passwordrulepolicy -v <AccountType> <Policy>

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
AccountTypeReqBodyinteger-[{"Type": "Enum", "Formula": [0, 1, 2]}]0 Local Account. 1 Snmp Community. 2 VNC.
PolicyReqBodystring-[{"Type": "Enum", "Formula": ["Default", "Customized", "Hybrid"]}]Default Use default password complexity to check password. Customized Use customized regex pattern to check password. Hybrid Use default password complexity and customized regex pattern to check password.

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
PasswordRulePolicyRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1Property${Statements/GetPath()}bmc.kepler.AccountService.PasswordPolicy-{"Policy": "${Statements/ParseRulePolicy()}"}-

使用示例

text
ipmcset -t user -d passwordrulepolicy -v <AccountType> <Policy>

输出样例

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

来源信息

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