Setting the User Interfaces for Logging to iBMC (interface)
Function
The interface command is used to set the user interfaces that can be used by specified users to log in to iBMC.
Format
ipmcset -t user -d interface -v username <enabled | disabled> <option1 option2 ... optionN>
Parameters
Parameter |
Description |
Value |
---|---|---|
username |
Name of the user to be configured. |
– |
enabled |
Indicates that the interfaces will be enabled. |
– |
disabled |
Indicates that the interfaces will be disabled. |
– |
option1 option2 ... optionN |
Indicates the interface types to be configured. |
You can set multiple interface types at a time. The options are:
|
Usage Guidelines
None
Example
# Enable the iBMC login interfaces Web, SNMP, IPMI, SSH, SFTP, Local for the test user.
iBMC:/->ipmcset -t user -d interface -v test enabled 1 2 3 4 5 7 Input your password: Set user login interface successfully.
# Query information about the ssh_user_01 user.
iBMC:/->ipmcget -t user -d list ID Name Privilege Interface PublicKeyHash 2 root ADMINISTRATOR Web,SNMP,IPMI,SSH,SFTP,Local,Redfish NA 3 xxx CUSTOM ROLE1 Web,SNMP,IPMI,SSH,SFTP,Local,Redfish NA 4 commonuser USER Web,SNMP,IPMI,SSH,SFTP,Local,Redfish NA 5 admin ADMINISTRATOR Web,SNMP,IPMI,SSH,SFTP,Local,Redfish NA 6 operator OPERATOR Web,SNMP,IPMI,SSH,SFTP,Local,Redfish NA 7 custom1 CUSTOM ROLE1 Web,SNMP,IPMI,SSH,SFTP,Local,Redfish NA 8 test USER Web,SNMP,IPMI,SSH,SFTP,Local NA 9 NO ACCESS NA 10 NO ACCESS NA 11 NO ACCESS NA 12 NO ACCESS NA 13 NO ACCESS NA 14 NO ACCESS NA 15 NO ACCESS NA 16 NO ACCESS NA 17 NO ACCESS