Does this look familiar?
Sometimes we forget a password, sometimes it’s set by someone else and they forgot it, left company or are just evil and won’t tell us 😉
Assuming you still have access to SSH, VMware console (if virtual), Remote or physical serial console (if appliance), you can easily change GUI password of your CMX box.
NOTE: CMX uses separate user accounts for GUI and CLI access. GUI uses “admin”, CLI uses “cmxadmin” for all administrative purposes.
Since we want to regain access to GUI, we’ll be resetting “admin” user password.
First, we can list users for added peace of mind. Then, we can choose our admin user and set a new password.
GUI “admin” user password change syntax:
- [cmx ~]$ cmxctl users list
- [cmx ~]$ cmxctl users passwd admin
- Enter a new password for user admin: [new password]
- Repeat for confirmation: [new password]
And a quick screenshot:
If you require more details, please see this link: https://www.cisco.com/c/en/us/td/docs/wireless/mse/10-5/cmx_config/b_cg_cmx105/performing_administrative_tasks.html
If you typed incorrect password too many times, you’ll need to unlock CLI or GUI user.
To unlock CMX access for a CLI or GUI user after they have been locked out, use the cmxctl users unlock command.
[cmx ~]$ cmxctl users unlock { cli username | gui username }
That’s it! Access regained. Beer time 😉