# 查看ipmi的ip
[root@HOST-10-198-2-62 ~]# ipmitool lan print
# 首先确认非admin用户的id,选择一个ID创建root用户
[root@HOST-10-198-2-62 ~]# ipmitool user list 1
# 创建root用户
[root@HOST-10-198-2-62 ~]# ipmitool user set name 2 root
# 为root用户设置密码
[root@HOST-10-198-2-62 ~]# ipmitool user set password 2 test@2023
# 为用户配置权限
[root@HOST-10-198-2-62 ~]# ipmitool channel setaccess 1 2 callin=off ipmi=on privilege=4
# 启用新建用户
[root@HOST-10-198-2-62 ~]# ipmitool user enable 2
# 查看用户权限
[root@HOST-10-198-2-62 ~]# ipmitool channel getaccess 1 2