FAQ-Adding a User Account and Setting the User Permission on the iMana CLI

Publication Date:  2015-06-17 Views:  199 Downloads:  0
Issue Description
Adding a User Account and Setting the User Permission on the iMana CLI.
Solution
NOTE:
Each user name is unique. If any user name is repeated, the system displays an error message.

1.  Log in to the iMana command-line interface (CLI).

2.  Run the userlist command to query the user names and permission of all existing users.

root@BMC:/#ipmcget -d userlist
ID      Name               Privilege
1                         NO ACCESS
2       root              ADMINISTRATOR
3                         NO ACCESS
4                         NO ACCESS
5                         NO ACCESS
6                         NO ACCESS
7                         NO ACCESS
8                         NO ACCESS
9                         NO ACCESS
10                        NO ACCESS
11                        NO ACCESS
12                        NO ACCESS
13                        NO ACCESS
14                        NO ACCESS
15                        NO ACCESS
16                        NO ACCESS
17                        NO ACCESS


3.  Run the adduser command to add a new user and set the user password.

root@BMC:/#ipmcset -d adduser -v test
Input your password:****
Password:******
ConfirmPassword:******
Add user successfully.


4.  Run the privilege command to set the user permission.

root@BMC:/#ipmcset -d privilege -v test 4
Input your password:****
Set user privilege successfully.


5.  Query the setting information about the new user in the user list.

root@BMC:/#ipmcget -d userlist
ID      Name               Privilege
1                         NO ACCESS
2       root              ADMINISTRATOR
3       test              ADMINISTRATOR
4                         NO ACCESS
5                         NO ACCESS
6                         NO ACCESS
7                         NO ACCESS
8                         NO ACCESS
9                         NO ACCESS
10                        NO ACCESS
11                        NO ACCESS
12                        NO ACCESS
13                        NO ACCESS
14                        NO ACCESS
15                        NO ACCESS
16                        NO ACCESS
17                        NO ACCESS

END