| commit | 76363302d886aad1c4421f9d54b063d4c44bcf0e | [log] [tgz] |
|---|---|---|
| author | jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Fri Feb 14 23:50:38 2020 +0000 |
| committer | jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Sat Apr 18 21:04:13 2020 +0000 |
| tree | c7d70658b21cbb1269ac3bbc57ec29f37ea4edde | |
| parent | 6ba8d31525130dbb5ef5b60336993ef7b50a8f51 [diff] |
user_channel: Rewriting ipmiUserSetUserName API
Rewriting ipmiUserSetUserName API
Tested:
Verified using ipmitool commands.
Command: ipmitool user set name 4 user4
Response: //Success
Command: ipmitool user set password 4 asdf1234
Response: Set User Password command successful (user 4)
Command: ipmitool user priv 4 0x03 1
Response: Set Privilege Level command successful (user 4)
Command: ipmitool user set name 14 user13asdfghkjlqwert
Response: Username is too long (> 16 bytes)
Command: ipmitool -I lanplus -C 3 -p 623 -U root -P <password> -H
<BMC-IP> user set name 8 WIJGueNKd
Response: //Success
Command: ipmitool user list 1 //User list for channel 1
1 root false true true ADMINISTRATOR
2 user2 true false false USER
3 user3 true false false NO ACCESS
4 user4 true false false OPERATOR
5 WIJGueNK true false false NO ACCESS
6 WIJGueNKb true false false NO ACCESS
7 WIJGueNKc true false false NO ACCESS
8 WIJGueNKd true false false NO ACCESS
9 true false false NO ACCESS
10 true false false NO ACCESS
Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I41c091f6d9aaf54326295d1e80e16db521b2e23d
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run ./bootstrap.sh clean.