Question of ipmi command "Set User Access" in phosphor-host-ipmid

Tony Lee (李文富) Tony.Lee at quantatw.com
Mon May 25 17:28:58 AEST 2020


Hi Richard,

In the process of creating an user,
I used the ipmi command "ipmitool priv <user id> <privilege level> [<channel number>]".
The "UserPrivilege" of the user I created in dbus is empty. Because my LAN channel number is not 1.

https://github.com/openbmc/phosphor-host-ipmid/blob/master/user_channel/user_mgmt.cpp#L878

Why did it need to check the request channel number before setting the dbus?
I can't find the related restriction of it in "Set User Access Command" in IPMI SPEC.

Thanks
Best Regards,
Tony



More information about the openbmc mailing list