Configuring Local Users
Before you begin
You must log in as a user with admin privileges to configure or modify local user accounts.
Procedure
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
Server# scope user usernumber |
Enters user command mode for user number usernumber. |
||
Step 2 |
Server /user # set enabled {yes | no} |
Enables or disables the user account on the Cisco IMC. |
||
Step 3 |
Server /user # set name username |
Specifies the username for the user. |
||
Step 4 |
Server /user # set password |
You are prompted to enter the password twice.
|
||
Step 5 |
Server /user # set role {readonly | user | admin} |
|
||
Step 6 |
Server /user # commit |
Commits the transaction to the system configuration. |
Example
This example configures user 5 as an admin:
Server# scope user 5
Server /user # set enabled yes
Server /user *# set name john
Server /user *# set password
Warning:
Strong Password Policy is enabled!
For CIMC protection your password must meet the following requirements:
The password must have a minimum of 8 and a maximum of 14 characters.
The password must not contain the User's Name.
The password must contain characters from three of the following four categories.
English uppercase characters (A through Z)
English lowercase characters (a through z)
Base 10 digits (0 through 9)
Please enter password:
Please confirm password:
Server /user *# set role readonly
Server /user *# commit
Server /user # show
User Name Role Enabled
------ ---------------- -------- --------
5 john readonly yes