Adding a User
To add a new user, use the following configurations:
configure
smiuser add-user username username password password
exit
Notes:
-
smiuser add-user - Adds a new local user.
username username - Specifies the name of the user.
username must be alphanumeric string.-
password password - Specifies the password. The password must meet the following criteria:
-
Minimum 8 characters in length.
-
Contain at least one lowercase character.
-
Contain at least one uppercase character.
-
Contain at least one numeric character.
-
Contain at least one special character, which includes the following:
-
[ '~', '@', '#', '%', '^', '&', '*', '(', ')', '_', '+', '`', '-', '=', '{', '}', '[', ']', ':', '"', ';', '\'', '|', '<', '>', '?', ',', '.', '/', '$']
-
Password must not start with '$'.
-
-
Password must not be too simplistic or based on dictionary word.
-
Do not re-use passwords.
Use the following command to configure the number of passwords to keep in history:
password requisite pam_pwhistory.so debug enforce_for_root remember=12
-
Minimum number of days that are allowed between password changes is seven.
-
The following example adds a new user called 'user1' and assigns the password for the new user.
cee# configure terminal
smiuser add-user username user1 password Cisco@123
message User added
The following example adds a new user called 'user2' and assigns the password for the new user.
cee# configure terminal
smiuser add-user username user2 password Cisco@12345
message User added
In the following example, when an existing user name (user2) is added as a new user, the Ops Center displays an error message.
cee# configure terminal
smiuser add-user username user2 password Cisco@12345
message User already exists