1、查看用户清单
ipmitool user list 1
2、创建用户
ipmitool user set name 3 test
3、设置密码
ipmitool user set password 3 Test@123
4、给用户权限
ipmitool channel setaccess 1 3 callin=on ipmi=on link=on privilege=4
5、查看权限
ipmitool channel getaccess 1 3
6、比较用户权限
root@7327:~# ipmitool user set name 4 debug4
root@7327:~# ipmitool user set password 3 0penBmc#123
Set User Password command successful (user 4)
root@7327:~#
root@7327:~# ipmitool user enable 4
root@7327:~#
root@7327:~# ipmitool channel setaccess 1 4 callin=on ipmi=on link=on privilege=4
Set User Access (channel 1 id 4) successful.
root@7327:~# ipmitool channel getaccess 1 4
Maximum User IDs : 15
Enabled User IDs : 4
User ID : 4
User Name : debug4
Fixed Name : No
Access Available : call-in / callback
Link Authentication : enabled
IPMI Messaging : enabled
Privilege Level : ADMINISTRATOR
Enable Status : enabled
root@7327:~# ipmitool channel getaccess 1 3
Maximum User IDs : 15
Enabled User IDs : 4
User ID : 3
User Name : root
Fixed Name : No
Access Available : callback
Link Authentication : enabled
IPMI Messaging : enabled
Privilege Level : ADMINISTRATOR
Enable Status : enabled
使用其它设备远程登录
ipmitool -I lanplus -U debug4 -P 0penBmc#123 -H 192.168.107.31 -C 17 sel clear -N 10
标签:7327,IPMI,用户,ipmitool,添加,user,root,channel,User From: https://www.cnblogs.com/path602/p/16807989.html