On 7/28/06, Massimiliano Masi <[EMAIL PROTECTED]> wrote:
Hello,

I've a problem with the user access. I would like to add an OPERATOR priv to
an user, but I've got this error:

[EMAIL PROTECTED] sbin]# ipmitool user list 1
ID  Name             Callin  Link Auth  IPMI Msg   Channel Priv Limit
1                    true    false      true       ADMINISTRATOR
2   ADMIN            true    true       true       ADMINISTRATOR
3   operator         true    true       true       NO ACCESS
[EMAIL PROTECTED] sbin]# ipmitool user priv 3 OPERATOR 1
Set Privilege Level command failed (user 3)
[EMAIL PROTECTED] sbin]# ipmitool -vvvv user priv 3 OPERATOR 1
Set IPMB address to 0x20
OpenIPMI Request Message (3 bytes)
0e 03 00
Sending request to System Interface
Set Privilege Level command failed (user 3)

Have you any idea?


There are a couple of problems with this command as it is now...

First, ipmitool is not interpreting the text-based privilege limits for the "user priv" command at the moment, so use the numeric version (USER=2, OPERATOR=3, ADMIN=4) instead.

Second many many BMCs seem to require the optional 4th byte and will error out if it is not provided so I am adding this byte in for the next release.

Third, and this doesn't affect you because you specified the channel number, but many BMCs seem to dislike using the default channel of 14 and will error out if the actual number is not provided.

Since I have not yet put fixes in a release you may construct a raw command to acheive this command:

raw 0x6 0x43 0x1 0x3 0x3 0x0

byte 1: netfn 0x6
byte 2: command 0x43
byte 3: channel 0x1
byte 4: user id 0x3
byte 5: privilege 0x3 (operator)
byte 6: optional session limit 0x0 (none)


-duncan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to