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

ipmcset -t user -d passwordpattern

返回总览 | 返回命令索引

命令功能

设置密码复杂度校验正则表达式

命令格式

text
ipmcset -t user -d passwordpattern -v <AccountType> <Pattern>

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
AccountTypeReqBodyinteger-[{"Type": "Enum", "Formula": [0, 1, 2]}]0 Local Account. 1 Snmp Community. 2 VNC.
PatternReqBodystring-[{"Type": "Length", "Formula": [0, 255]}]Regular expression for checking password complexity.

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
PasswordPatternRspBody----

后端处理流

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

使用示例

text
ipmcset -t user -d passwordpattern -v <AccountType> <Pattern>

输出样例

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

来源信息

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