ipmcset -t securityenhance -d inactivetimelimit
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t securityenhance -d inactivetimelimit
命令功能
设置非活跃用户锁定时限(天)
命令格式
text
ipmcset -t securityenhance -d inactivetimelimit -v <time>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
time | ReqBody | integer | 是 | - | [{"Type": "Script", "Formula": "if not (Input == 0 or (Input >= 30 and Input <= 365)) then error(base_messages.PropertyValueNotInList(Input, PropertyName)) end"}] | 0 Never disable inactive user 30~365 Days of inactivity before disable user |
响应/输出说明
无
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Property | /bmc/kepler/AccountService | bmc.kepler.AccountService | - | {"InactiveDaysThreshold": "${ReqBody/time}"} | - |
使用示例
text
ipmcset -t securityenhance -d inactivetimelimit -v <time>输出样例
输出样例来源: interface_config/cli/echoes/ipmcset/securityenhance_inactivetimelimit, interface_config/cli/echoes/
无
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | securityenhance |
| dataitem | inactivetimelimit |
| URI | /cli/v1/securityenhance/inactivetimelimit |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/securityenhance.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |