From: "Tony Lee (李文富)" <Tony.Lee@quantatw.com>
To: "Thomaiyar, Richard Marian" <richard.marian.thomaiyar@linux.intel.com>
Cc: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Question of ipmi command "Set User Access" in phosphor-host-ipmid
Date: Mon, 25 May 2020 07:28:58 +0000 [thread overview]
Message-ID: <e46d19fbea37479ca10df26e35d474b2@quantatw.com> (raw)
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
next reply other threads:[~2020-05-25 7:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 7:28 Tony Lee (李文富) [this message]
2020-05-25 16:28 ` Question of ipmi command "Set User Access" in phosphor-host-ipmid Thomaiyar, Richard Marian
2020-05-28 8:09 ` Tony Lee (李文富)
2020-05-28 10:21 ` Thomaiyar, Richard Marian
2020-06-01 18:56 ` Joseph Reynolds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e46d19fbea37479ca10df26e35d474b2@quantatw.com \
--to=tony.lee@quantatw.com \
--cc=openbmc@lists.ozlabs.org \
--cc=richard.marian.thomaiyar@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.