Modifying the Password for Other Users
You can modify the password for other users using the following configuration:
configure
smiuser change-password username username current_password current_password new_password new_password
confirm_password new_password password_expire_days number_of_days
exit
Note |
|
The following example updates the password for the user called 'user1'.
cee# configure terminal
smiuser change-password username user1 current_password Cisco@123 new_password Cisco@345 confirm_password Cisco@345 password_expire_days 180
message Password updated successfully
The following example updates the password for the user called 'user1' without assigning the optional password expiry date.
cee# configure terminal
smiuser change-password username user1 current_password Cisco@123 new_password Cisco@345 confirm_password Cisco@345
message Password updated successfully
The following example updates the password for the user called 'user1' without assigning the password expiry date.
cee# configure terminal
smiuser change-password username user1 current_password Cisco@123 new_password Cisco@345 confirm_password Cisco@345
message Password updated successfully
The following example updates the password for the user called 'user1' with an existing password.
cee# configure terminal
smiuser change-password username user1 current_password Cisco@345 new_password Cisco@345 confirm_password Cisco@345
message Password has been already used
The following example updates the password for the user called 'user1' with different values for new password and confirm password parameters.
cee# configure terminal
smiuser change-password username user1 current_password Cisco@345 new_password Cisco@345 confirm_password Cisco@567
message Passwords do not match