Thursday, 12 December 2013

How to add an administrator to IPMI interface

[root@olsnba08 ~]# modprobe ipmi_devintf
[root@olsnba08 ~]# ipmitool user list 1
ID  Name      Callin  Link Auth IPMI Msg   Channel Priv Limit
1                    false   false      true       ADMINISTRATOR
2   root             false   true       true       ADMINISTRATOR
3   test1            false   false      true       ADMINISTRATOR
4   test2            false   false      true       ADMINISTRATOR
5   test3            false   false      true       ADMINISTRATOR
6   gbitzes          true    true       true       ADMINISTRATOR

[root@olsnba08 ~]# ipmitool user set name 7 admin
[root@olsnba08 ~]# ipmitool user set password 7
Password for user 7: 
Password for user 7: 
[root@olsnba08 ~]# ipmitool channel setaccess 1 7 link=on ipmi=on callin=on privilege=4
[root@olsnba08 ~]# ipmitool user enable 7