ipmcset -t user -d interface
更新时间: 2026/07/28
在Gitcode上查看源码Command Function
Set user login interface
Command Format
ipmcset -t user -d interface -v <username> <enabled/disabled> <option1 option2 ...> Options are: 1 Web 2 SNMP 3 IPMI 4 SSH 5 SFTP 7 Local 8 Redfish
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 (..). |
enabled | - | Yes | - | Type: Enum; Enum: enabled, disabled | - |
option1 | integer | Yes | - | Type: Enum; Enum: 1, 2, 3, 4, 5, 7, 8 | - |
option2 | integer | No | - | Type: Enum; Enum: 1, 2, 3, 4, 5, 7, 8 | - |
option3 | integer | No | - | Type: Enum; Enum: 1, 2, 3, 4, 5, 7, 8 | - |
option4 | integer | No | - | Type: Enum; Enum: 1, 2, 3, 4, 5, 7, 8 | - |
option5 | integer | No | - | Type: Enum; Enum: 1, 2, 3, 4, 5, 7, 8 | - |
option6 | integer | No | - | Type: Enum; Enum: 1, 2, 3, 4, 5, 7, 8 | - |
option7 | integer | No | - | Type: Enum; Enum: 1, 2, 3, 4, 5, 7, 8 | Options are: |
Regex正则表达式
username
^(?!.*[<>&,'/\%:" ])(?=[A-Za-z0-9`~!@#$%^&*()_+-={};[\]?.|])(?!#)(?!\+)(?!-)([A-Za-z0-9`~!@#$%^&*()_+-={};[\]?.|]{1,16})$Output Examples
Set user login interface successfully.