Configure User Accounts
Note -
You can use get and set commands to configure user account MIB object settings. For a description of valid MIB objects for this procedure, see the table following this procedure.
Note -
The syntax in this procedure is valid for a tcsh shell. It might not be necessary to include the escape character (\) in your shell environment.
-
Log in to a host that has an SNMP tool and the Oracle ILOM MIBs installed. For example, type:
ssh username@snmp_manager_ipaddress
Password:
password
-
To create a new user account with a user role of Operator, type:
% snmpset SNMP_agent ilomCtrlLocalUserRowStatus.\”user1\” i 4
ilomCtrlLocalUserRoles.\”user1\” s "operator"
ilomCtrlLocalUserPassword.\”user1\” s "password"
-
To delete a user account, type:
% snmpset SNMP_agent ilomCtrlLocalUserRowStatus.\”user1\” i 6
The following table describes the User Account SNMP MIB objects.
|
|
|
|
|
ilomCtrlLocal UserUsername
|
A local user user name. It must start with an alphabetical letter and can contain alphabetical letters, digits, hyphens, and underscores, but cannot contain spaces. It cannot be the same as the password.
|
username
|
String
|
None
|
ilomCtrlLocal UserPassword
|
A local user password.
|
password
|
String
|
None
|
ilomCtrlLocal UserRoles
|
Specifies the role that is associated with a user. The roles can be assigned for the legacy roles of Administrator or Operator, or any of the individual role IDs of a, u, c, r, o, and s. The role IDs can be joined together. For example, aucros, where a=admin, u=user, c=console, r=reset, o=read-only, s=service.
|
administrator,
operator,
admin(a),
user(u),
console(c),
reset(r), read-only(o),
service(s)
|
String
|
None
|
ilomCtrlLocal UserRowStatus
|
This object is used to create a new row or to delete an existing row in the table. This property can be set to either createAndWait(5) or destroy(6), to create and remove a user respectively.
|
active(1),
notInService(2),
notReady(3),
createAndGo(4),
createAndWait(5),
destroy(6)
|
Integer
|
None
|
|