ipmcset -t user -d state
更新时间: 2026/07/28
在Gitcode上查看源码Command Function
Enable/Disable user
Command Format
ipmcset -t user -d state -v <username> [enabled|disabled]
Command type
ipmcset
Parameters
| Name | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|
username | string | Yes | - | Regex | Contain any digits, letters, or characters except (:,<>&"'/%) and space. User name's length is limitted to 1-16. User name cannot start with character "#" "+" or "-". User name cannot be just a dot (.) or two consecutive dots (..). |
state | string | Yes | - | Type: Enum; Enum: enabled, disabled | - |
Regex正则表达式
username
^(?!.*[<>&,'/\%:" ])(?=[A-Za-z0-9`~!@#$%^&*()_+-={};[\]?.|])(?!#)(?!\+)(?!-)([A-Za-z0-9`~!@#$%^&*()_+-={};[\]?.|]{1,16})$Output Examples
None