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

ipmcset -t user -d weakpwddic

返回总览 | 返回命令索引

命令功能

管理弱口令字典

命令格式

text
ipmcset -t user -d weakpwddic -v <option> [localpath/URL]

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
optionReqBody--[{"Type": "Enum", "Formula": ["enabled", "disabled", "import", "export"]}]enabled Enable weak password dictionary check. disabled Disable weak password dictionary check. import <localpath/URL> Import weak password dictionary. export [localpath/URL] Export weak password dictionary. Localpath e.g.:/tmp/weakdictionary URL :protocol://[username:password@]IP[:port]/directory/filename The parameters in the URL are described as follows: The protocol must be https,sftp,cifs,scp or nfs. The URL can contain only letters, digits, and special characters. The directory or file name cannot contain @. Use double quotation marks (") to enclose the URL that contains a space or double quotation marks ("). Escape the double quotation marks (") and back slash () contained in the URL. For example, if you want to enter: a b\cd" Enter: "a b\cd""
valueReqBody--[{"Type": "Regex", "Formula": "^((https|sftp|nfs|cifs|scp)😕/.{1,1000}|/tmp/.{1,246})$"}]-

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
OptionRspBody----
IsLocalFileRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1Property/bmc/kepler/AccountServicebmc.kepler.AccountService-{"WeakPasswordDictionaryEnabled": "${Statements/value()}"}-
2Property/bmc/kepler/AccountServicebmc.kepler.AccountService-{"WeakPasswordDictionaryEnabled": "${Statements/value()}"}-
3Method/bmc/kepler/Managers/1/Security/Filebmc.kepler.Managers.Security.FileIsPermitted-{"Result": "Result"}
4Method/bmc/kepler/AccountServicebmc.kepler.AccountServiceImportWeakPasswordDictionary--
5Method/bmc/kepler/AccountServicebmc.kepler.AccountServiceExportWeakPasswordDictionary--
6Task/bmc/kepler/AccountServicebmc.kepler.AccountServiceImportWeakPasswordDictionary-{"TaskId": "TaskId"}
7Task/bmc/kepler/AccountServicebmc.kepler.AccountServiceExportWeakPasswordDictionary-{"TaskId": "TaskId"}
8Method/bmc/kepler/Managers/1/Security/Filebmc.kepler.Managers.Security.FileChangeOwner--

使用示例

text
ipmcset -t user -d weakpwddic -v <option> [localpath/URL]

输出样例

ScenarioOutputSource
成功<value> weak password dictionary successfully.interface_config/cli/echoes/ipmcset/user_weakpwddic
失败<value> weak password dictionary failed.interface_config/cli/echoes/ipmcset/user_weakpwddic
成功<value> weak password dictionary successfully.interface_config/cli/echoes/ipmcset/user_weakpwddic
失败<value> weak password dictionary failed.interface_config/cli/echoes/ipmcset/user_weakpwddic
成功Enabled weak password dictionary check successfully.interface_config/cli/echoes/ipmcset/user_weakpwddic
成功Disabled weak password dictionary check successfully.interface_config/cli/echoes/ipmcset/user_weakpwddic

来源信息

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